summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-03 16:17:20 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:54:51 +0200
commit2ba105223cdf3a8df21a3368b8dfe506a8f885e8 (patch)
treeba09e05b8d97ad842ed4bd2d8ee4b410f83df184 /sw
parenta5c93041794164ecaae9e71ee1c83c187ad17aab (diff)
convert include/svx/SpellDialogChildWindow.hxx from String to OUString
Change-Id: I6fe9e996b67dc689f4fc2abc1cf63cb4af39084f
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dialog/SwSpellDialogChildWindow.cxx2
-rw-r--r--sw/source/ui/inc/SwSpellDialogChildWindow.hxx2
2 files changed, 2 insertions, 2 deletions
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();