From 0f9976f9cea73cf57ae8441c840523bbcd1655fc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 6 Sep 2013 15:32:23 +0200 Subject: convert include/editeng/splwrap.hxx from String to OUString Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe --- cui/source/dialogs/SpellDialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/dialogs/SpellDialog.cxx') diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index dfaef3112983..506c11eed0dc 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -463,7 +463,7 @@ IMPL_LINK( SpellDialog, ExtClickHdl, Button *, pBtn ) const SpellErrorDescription* pSpellErrorDescription = m_pSentenceED->GetAlternatives(); if( pSpellErrorDescription ) { - String sWrong(pSpellErrorDescription->sErrorText); + OUString sWrong(pSpellErrorDescription->sErrorText); //if the word has not been edited in the MultiLineEdit then //the current suggestion should be used //if it's not the 'no suggestions' entry @@ -581,7 +581,7 @@ IMPL_LINK_NOARG(SpellDialog, ChangeAllHdl) LanguageType eLang = GetSelectedLang_Impl(); // add new word to ChangeAll list - String aOldWord( m_pSentenceED->GetErrorText() ); + OUString aOldWord( m_pSentenceED->GetErrorText() ); SvxPrepareAutoCorrect( aOldWord, aString ); Reference aXDictionary( SvxGetChangeAllList(), UNO_QUERY ); sal_uInt8 nAdded = linguistic::AddEntryToDic( aXDictionary, -- cgit