diff options
author | David Tardon <dtardon@redhat.com> | 2012-04-18 09:44:19 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-04-18 11:07:43 +0200 |
commit | 4bd76b74c0145635ef69caa94e3235f6ce3ab5de (patch) | |
tree | 94f52639eb45055b5abf205a0a1e6b3e2d537ae4 | |
parent | 05579aa8b26f593af650d8434ff1c25c0a2702a6 (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.cxx | 4 |
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; } |