convert the SvxAutoCorrect::FindIn* methods from String to OUString
Change-Id: Ida2f39b75f73137a4164d95d7f1e9a6cd34a322f
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 9d5fd1d..f95d921 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1738,7 +1738,7 @@ const SvxAutocorrWord* SvxAutoCorrect::SearchWordsInList(
}
sal_Bool SvxAutoCorrect::FindInWrdSttExceptList( LanguageType eLang,
const String& sWord )
const OUString& sWord )
{
// First search for eLang, then US-English -> English
// and last in LANGUAGE_UNDETERMINED
@@ -1817,7 +1817,7 @@ static sal_Bool lcl_FindAbbreviation(const SvStringsISortDtor* pList, const OUSt
}
sal_Bool SvxAutoCorrect::FindInCplSttExceptList(LanguageType eLang,
const String& sWord, sal_Bool bAbbreviation)
const OUString& sWord, sal_Bool bAbbreviation)
{
// First search for eLang, then US-English -> English
// and last in LANGUAGE_UNDETERMINED
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index b9dd6f4..b687dc4 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -389,8 +389,8 @@ public:
sal_Bool AddWrtSttException( const String& rNew, LanguageType eLang = LANGUAGE_SYSTEM);
// Search through the Languages for the entry
sal_Bool FindInWrdSttExceptList( LanguageType eLang, const String& sWord );
sal_Bool FindInCplSttExceptList( LanguageType eLang, const String& sWord,
sal_Bool FindInWrdSttExceptList( LanguageType eLang, const OUString& sWord );
sal_Bool FindInCplSttExceptList( LanguageType eLang, const OUString& sWord,
sal_Bool bAbbreviation = sal_False);
// Methods for the auto-correction