summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/SpellDialog.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-06 15:32:23 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:31 +0200
commit0f9976f9cea73cf57ae8441c840523bbcd1655fc (patch)
tree693b0f961741de520a30c88ea6c976d60d5d297c /cui/source/dialogs/SpellDialog.cxx
parent76fa859ac1f7e1b754ddc1a4c7d5685342c58455 (diff)
convert include/editeng/splwrap.hxx from String to OUString
Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe
Diffstat (limited to 'cui/source/dialogs/SpellDialog.cxx')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx4
1 files changed, 2 insertions, 2 deletions
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<XDictionary> aXDictionary( SvxGetChangeAllList(), UNO_QUERY );
sal_uInt8 nAdded = linguistic::AddEntryToDic( aXDictionary,