summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table3.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-07-01 10:33:48 -0500
committerFridrich Strba <fridrich@documentfoundation.org>2013-07-02 07:31:30 +0000
commit6a08067902ddc0ec61a7c7b4b0035b303f643a50 (patch)
treecd49d1824cd169d9d224925b836eaa70de27414e /sc/source/core/data/table3.cxx
parent82a1d75ee59c46e6bb361b98c520cc4eff2e770c (diff)
OUString convertion for unotools
Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707 Reviewed-on: https://gerrit.libreoffice.org/4659 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'sc/source/core/data/table3.cxx')
-rw-r--r--sc/source/core/data/table3.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 03a0ca0c4148..eff2cd6f0a77 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -1398,8 +1398,8 @@ public:
if ( bRealRegExp || bTestRegExp )
{
- xub_StrLen nStart = 0;
- xub_StrLen nEnd = aCellStr.getLength();
+ sal_Int32 nStart = 0;
+ sal_Int32 nEnd = aCellStr.getLength();
// from 614 on, nEnd is behind the found text
bool bMatch = false;
@@ -1407,13 +1407,13 @@ public:
{
nEnd = 0;
nStart = aCellStr.getLength();
- bMatch = (bool) rEntry.GetSearchTextPtr( mrParam.bCaseSens )
- ->SearchBkwrd( aCellStr, &nStart, &nEnd );
+ bMatch = rEntry.GetSearchTextPtr( mrParam.bCaseSens )
+ ->SearchBackward( aCellStr, &nStart, &nEnd );
}
else
{
- bMatch = (bool) rEntry.GetSearchTextPtr( mrParam.bCaseSens )
- ->SearchFrwrd( aCellStr, &nStart, &nEnd );
+ bMatch = rEntry.GetSearchTextPtr( mrParam.bCaseSens )
+ ->SearchForward( aCellStr, &nStart, &nEnd );
}
if ( bMatch && bMatchWholeCell
&& (nStart != 0 || nEnd != aCellStr.getLength()) )