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

New commits:
commit 6e002280f89b1ed583686038567cbb010a4758f1
Author: Tsutomu Uchino <ha...@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;
                     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to