diff options
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 4 | ||||
-rw-r--r-- | include/editeng/svxacorr.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index f4664363c4bc..fce15768b79b 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1179,7 +1179,7 @@ void SvxAutoCorrect::InsertQuote( SvxAutoCorrDoc& rDoc, xub_StrLen nInsPos, rDoc.Replace( nInsPos, sChg ); } -String SvxAutoCorrect::GetQuote( SvxAutoCorrDoc& rDoc, xub_StrLen nInsPos, +OUString SvxAutoCorrect::GetQuote( SvxAutoCorrDoc& rDoc, xub_StrLen nInsPos, sal_Unicode cInsChar, sal_Bool bSttQuote ) { LanguageType eLang = rDoc.GetLanguage( nInsPos, sal_False ); @@ -1673,7 +1673,7 @@ static const SvxAutocorrWord* lcl_SearchWordsInList( // the search for the words in the substitution table const SvxAutocorrWord* SvxAutoCorrect::SearchWordsInList( - const String& rTxt, xub_StrLen& rStt, xub_StrLen nEndPos, + const OUString& rTxt, xub_StrLen& rStt, xub_StrLen nEndPos, SvxAutoCorrDoc&, LanguageType& rLang ) { LanguageType eLang = rLang; diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 7bdf81ab8edd..085c1c708f63 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -306,7 +306,7 @@ public: // nEnd - to check position - as of this item forward // rLang - Input: in which language is searched // Output: in which "language list" was it found - const SvxAutocorrWord* SearchWordsInList( const String& rTxt, + const SvxAutocorrWord* SearchWordsInList( const OUString& rTxt, xub_StrLen& rStt, xub_StrLen nEndPos, SvxAutoCorrDoc& rDoc, LanguageType& rLang ); @@ -322,7 +322,7 @@ public: void SetStartDoubleQuote( const sal_Unicode cStart ) { cStartDQuote = cStart; } void SetEndDoubleQuote( const sal_Unicode cEnd ) { cEndDQuote = cEnd; } - String GetQuote( SvxAutoCorrDoc& rDoc, xub_StrLen nInsPos, + OUString GetQuote( SvxAutoCorrDoc& rDoc, xub_StrLen nInsPos, sal_Unicode cInsChar, sal_Bool bSttQuote ); void InsertQuote( SvxAutoCorrDoc& rDoc, xub_StrLen nInsPos, sal_Unicode cInsChar, sal_Bool bSttQuote, sal_Bool bIns ); |