Bug Hunting Session
Bug 112391 - Wrong code for inStrRev in example of LO-Help
Summary: Wrong code for inStrRev in example of LO-Help
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Olivier Hallot
URL:
Whiteboard: target:6.0.0
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-14 15:10 UTC by Robert Großkopf
Modified: 2017-09-15 17:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2017-09-14 15:10:56 UTC
Open Help for LO Basic.
Search for function InStrRev.
Code-example of German help:
...
iPos = Instr(sInput,"eine",13,1)
Print iPos 
iPos = Instr(sInput,"eine",13,0)
Print iPos
...

Function is wrong, must be InStrRev instead of InStr.
Comment 1 Commit Notification 2017-09-14 15:39:23 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/help/commit/?id=b4f3b5bbe19d8361492c023e3ca0ee53fc0ab9b0

tdf#112391 Fix inStrRev in example of LO-Help