summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-25 00:55:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-25 01:09:48 +0100
commit7de4f83848f6277251e48606ce2c670ea9866926 (patch)
tree2491114ecdb3ff7a482c176e643af84a24b910b7 /desktop
parentdb8826007035255a4b3e4a3ef0377d28415a3a93 (diff)
Adapt to OUString-oriented SearchForward
Change-Id: I0aec0bf6d2d3010292f5dee314074457c24ee408
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx
index 8f58fcb51c93..d994e0d165d7 100644
--- a/desktop/source/migration/services/oo3extensionmigration.cxx
+++ b/desktop/source/migration/services/oo3extensionmigration.cxx
@@ -266,9 +266,9 @@ bool OO3ExtensionMigration::scanDescriptionXml( const ::rtl::OUString& sDescript
utl::SearchParam param(m_aBlackList[i], utl::SearchParam::SRCH_REGEXP);
utl::TextSearch ts(param, LANGUAGE_DONTKNOW);
- xub_StrLen start = 0;
- xub_StrLen end = static_cast<sal_uInt16>(aExtIdentifier.getLength());
- if (ts.SearchFrwrd(aExtIdentifier, &start, &end))
+ sal_Int32 start = 0;
+ sal_Int32 end = aExtIdentifier.getLength();
+ if (ts.SearchForward(aExtIdentifier, &start, &end))
return false;
}
}