[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sc/source

Tsutomu Uchino hanya at apache.org
Thu Jan 22 10:17:54 PST 2015


 sc/source/core/data/table6.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6e002280f89b1ed583686038567cbb010a4758f1
Author: Tsutomu Uchino <hanya at apache.org>
Date:   Thu Jan 22 17:53:09 2015 +0000

    #i107619# update search result while repeating search

diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx
index 8293b5f..f9e229f 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -194,13 +194,13 @@ sal_Bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW
                     else if (bDoBack)
                     {
                         xub_StrLen nTemp=nStart; nStart=nEnd; nEnd=nTemp;
-                        bRepeat = ((sal_Bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd)));
+                        bRepeat = ((sal_Bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd, &aSearchResult)));
                         // change results to definition before 614:
                         --nEnd;
                     }
                     else
                     {
-                        bRepeat = ((sal_Bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd)));
+                        bRepeat = ((sal_Bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd, &aSearchResult)));
                         // change results to definition before 614:
                         --nEnd;
                     }


More information about the Libreoffice-commits mailing list