From fd8f8bdaadc6bac6cf57c335422482a6793211a2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 Sep 2013 08:17:02 +0200 Subject: convert last bits of include/editeng/svxacorr.hxx from String to OUString now that Caolon has fixed the bugs in the auto-correct Change-Id: I06c31c22974fd23c6e6c14f1b3d0b6411712753f --- include/editeng/svxacorr.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/editeng') diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index a3378f1f0b14..846e15f29a32 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -297,8 +297,8 @@ public: // Return for the autotext expansion the previous word, // AutoCorrect - corresponding algorithm - sal_Bool GetPrevAutoCorrWord( SvxAutoCorrDoc& rDoc, const String& rTxt, - xub_StrLen nPos, String& rWord ) const; + sal_Bool GetPrevAutoCorrWord( SvxAutoCorrDoc& rDoc, const OUString& rTxt, + xub_StrLen nPos, OUString& rWord ) const; // Search for or or the words in the replacement table. // rText - check in this text the words of the list @@ -373,7 +373,7 @@ public: { return _GetLanguageList( eLang ).GetCplSttExceptList(); } // Adds a single word. The list will be immediately written to the file! - sal_Bool AddCplSttException( const String& rNew, + sal_Bool AddCplSttException( const OUString& rNew, LanguageType eLang = LANGUAGE_SYSTEM ); // Load, Set, Get the exception list for 2 Capital letters at the @@ -386,7 +386,7 @@ public: LanguageType eLang = LANGUAGE_SYSTEM ) { return _GetLanguageList( eLang ).GetWrdSttExceptList(); } // Adds a single word. The list will be immediately written to the file! - sal_Bool AddWrtSttException( const String& rNew, LanguageType eLang = LANGUAGE_SYSTEM); + sal_Bool AddWrtSttException( const OUString& rNew, LanguageType eLang = LANGUAGE_SYSTEM); // Search through the Languages for the entry sal_Bool FindInWrdSttExceptList( LanguageType eLang, const OUString& sWord ); -- cgit