[Libreoffice-commits] help.git: source/text

Olivier Hallot olivier.hallot at libreoffice.org
Thu Sep 14 15:38:30 UTC 2017


 source/text/sbasic/shared/03120411.xhp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b4f3b5bbe19d8361492c023e3ca0ee53fc0ab9b0
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date:   Thu Sep 14 12:34:17 2017 -0300

    tdf#112391 Fix inStrRev in example of LO-Help
    
    Change-Id: I3fad8e9ba3d30d9bf7ae42e6c753ee8677b012fd
    Reviewed-on: https://gerrit.libreoffice.org/42286
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
    Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/sbasic/shared/03120411.xhp b/source/text/sbasic/shared/03120411.xhp
index 0e1e7c004..319e2f298 100644
--- a/source/text/sbasic/shared/03120411.xhp
+++ b/source/text/sbasic/shared/03120411.xhp
@@ -61,9 +61,9 @@
 <paragraph id="par_idm1341611120" role="bascode" localize="false" xml-lang="en-US">Dim sInput As String</paragraph>
 <paragraph id="par_idm1341609888" role="bascode" localize="false" xml-lang="en-US">Dim iPos As Integer</paragraph>
 <paragraph id="par_id3144760" role="bascode" xml-lang="en-US"> sInput = "The book is on the table"</paragraph>
-<paragraph id="par_id3154125" role="bascode" xml-lang="en-US"> iPos = Instr(sInput,"the",10,1) ' Returns 1, search is case-insensitive</paragraph>
+<paragraph id="par_id3154125" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,1) ' Returns 1, search is case-insensitive</paragraph>
 <paragraph id="par_idm1341605120" role="bascode" localize="false" xml-lang="en-US"> Print iPos </paragraph>
-<paragraph id="par_id051920170322141162" role="bascode" xml-lang="en-US"> iPos = Instr(sInput,"the",10,0) ' Returns 0, search is case-sensitive</paragraph>
+<paragraph id="par_id051920170322141162" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,0) ' Returns 0, search is case-sensitive</paragraph>
 <paragraph id="par_id051920170322458754" role="bascode" localize="false" xml-lang="en-US"> Print iPos</paragraph>
 <paragraph id="par_idm1341603888" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
 </bascode>


More information about the Libreoffice-commits mailing list