summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-16 14:31:09 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:06:12 +0200
commit90830788b1f8fd61ea86135712868aeda395edd0 (patch)
tree666efd885589bbdbbcee9f505ef1fca5aa24cf0a
parentcb4e009c4539c535108021934e545194b35cad9d (diff)
convert the SvxAutoCorrect::FindIn* methods from String to OUString
Change-Id: Ida2f39b75f73137a4164d95d7f1e9a6cd34a322f
-rw-r--r--editeng/source/misc/svxacorr.cxx4
-rw-r--r--include/editeng/svxacorr.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 9d5fd1ddcca5..f95d921a31ae 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 b9dd6f4757e0..b687dc4fece9 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