From 2ba105223cdf3a8df21a3368b8dfe506a8f885e8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 3 Sep 2013 16:17:20 +0200 Subject: convert include/svx/SpellDialogChildWindow.hxx from String to OUString Change-Id: I6fe9e996b67dc689f4fc2abc1cf63cb4af39084f --- sw/source/ui/dialog/SwSpellDialogChildWindow.cxx | 2 +- sw/source/ui/inc/SwSpellDialogChildWindow.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') 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(); -- cgit