summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-04-18 09:44:19 +0200
committerDavid Tardon <dtardon@redhat.com>2012-04-18 09:49:03 +0200
commitea1cd1a10cc2d2bbf4f82aeca689fe81a3b79856 (patch)
tree1e5f4ba05c7f650683ad56f85b5b077c3741707d /sc
parent23d3532f9d7e60eca70930a7c2321192812c0c80 (diff)
fdo#44861 make "Replace All" work with REs
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/table6.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx
index 45bf02e34e5b..f4dc35ebfc1a 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -202,13 +202,13 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo
else if (bDoBack)
{
xub_StrLen nTemp=nStart; nStart=nEnd; nEnd=nTemp;
- bRepeat = ((bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd)));
+ bRepeat = ((bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd, &aSearchResult)));
// change results to definition before 614:
--nEnd;
}
else
{
- bRepeat = ((bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd)));
+ bRepeat = ((bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd, &aSearchResult)));
// change results to definition before 614:
--nEnd;
}