summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-04-18 09:44:19 +0200
committerPetr Mladek <pmladek@suse.cz>2012-04-18 11:07:43 +0200
commit4bd76b74c0145635ef69caa94e3235f6ce3ab5de (patch)
tree94f52639eb45055b5abf205a0a1e6b3e2d537ae4
parent05579aa8b26f593af650d8434ff1c25c0a2702a6 (diff)
fdo#44861 make "Replace All" work with REs
Signed-off-by: Petr Mladek <pmladek@suse.cz>
-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 55ac0660c420..44c5ecc2fb91 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -207,13 +207,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;
}