diff options
-rw-r--r-- | include/svx/SpellDialogChildWindow.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/SpellDialogChildWindow.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/dialog/SwSpellDialogChildWindow.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/inc/SwSpellDialogChildWindow.hxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/SpellDialogChildWindow.hxx b/include/svx/SpellDialogChildWindow.hxx index 669c5d193dfa..0b401e3b4b30 100644 --- a/include/svx/SpellDialogChildWindow.hxx +++ b/include/svx/SpellDialogChildWindow.hxx @@ -79,7 +79,7 @@ protected: virtual bool HasAutoCorrection(); /** This method adds a word pair to the AutoCorrection - if available */ - virtual void AddAutoCorrection(const String& rOld, const String& rNew, LanguageType eLanguage); + virtual void AddAutoCorrection(const OUString& rOld, const OUString& rNew, LanguageType eLanguage); /** Return the sfx bindings for this child window. They are retrieved from the dialog so they do not have to be stored in this class as well. The bindings may be necessary to be used diff --git a/svx/source/dialog/SpellDialogChildWindow.cxx b/svx/source/dialog/SpellDialogChildWindow.cxx index e84eb8768ff0..7df28dbb256e 100644 --- a/svx/source/dialog/SpellDialogChildWindow.cxx +++ b/svx/source/dialog/SpellDialogChildWindow.cxx @@ -66,8 +66,8 @@ bool SpellDialogChildWindow::HasAutoCorrection() } void SpellDialogChildWindow::AddAutoCorrection( - const String& /*rOld*/, - const String& /*rNew*/, + const OUString& /*rOld*/, + const OUString& /*rNew*/, LanguageType /*eLanguage*/) { OSL_FAIL("AutoCorrection should have been overloaded - if available"); diff --git a/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx b/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx index fefcfd0dc043..82afcddb83de 100644 --- a/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx +++ b/sw/source/ui/dialog/SwSpellDialogChildWindow.cxx @@ -467,7 +467,7 @@ void SwSpellDialogChildWindow::ApplyChangedSentence(const svx::SpellPortions& rC } void SwSpellDialogChildWindow::AddAutoCorrection( - const String& rOld, const String& rNew, LanguageType eLanguage) + const OUString& rOld, const OUString& rNew, LanguageType eLanguage) { SvxAutoCorrect* pACorr = SvxAutoCorrCfg::Get().GetAutoCorrect(); pACorr->PutText( rOld, rNew, eLanguage ); diff --git a/sw/source/ui/inc/SwSpellDialogChildWindow.hxx b/sw/source/ui/inc/SwSpellDialogChildWindow.hxx index 0d91361b9274..b4653b943b7b 100644 --- a/sw/source/ui/inc/SwSpellDialogChildWindow.hxx +++ b/sw/source/ui/inc/SwSpellDialogChildWindow.hxx @@ -40,7 +40,7 @@ class SwSpellDialogChildWindow protected: virtual svx::SpellPortions GetNextWrongSentence(bool bRecheck); virtual void ApplyChangedSentence(const svx::SpellPortions& rChanged, bool bRecheck); - virtual void AddAutoCorrection(const String& rOld, const String& rNew, LanguageType eLanguage); + virtual void AddAutoCorrection(const OUString& rOld, const OUString& rNew, LanguageType eLanguage); virtual bool HasAutoCorrection(); virtual bool HasGrammarChecking(); virtual bool IsGrammarChecking(); |