summaryrefslogtreecommitdiff
path: root/svx/source/dialog/langbox.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-04 15:29:16 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:55:12 +0200
commitef84ce9cec9fff75868433a862db8571440a10b4 (patch)
treecc1616889a3ea818654103be4b0d8f740df1edc9 /svx/source/dialog/langbox.cxx
parent55a15541a17e5c9b49039b0db31473ab81c2456b (diff)
convert svx/source/dialog/*.cxx from String to OUString
Change-Id: Icba1afdaf0d6ec16d2d09788ed3346160cb7564d
Diffstat (limited to 'svx/source/dialog/langbox.cxx')
-rw-r--r--svx/source/dialog/langbox.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx
index bba9ac20932c..e24bb8073d4c 100644
--- a/svx/source/dialog/langbox.cxx
+++ b/svx/source/dialog/langbox.cxx
@@ -149,7 +149,7 @@ void SvxLanguageBox::Init()
m_pLangTable = new SvtLanguageTable;
m_aNotCheckedImage = Image( SVX_RES( RID_SVXIMG_NOTCHECKED ) );
m_aCheckedImage = Image( SVX_RES( RID_SVXIMG_CHECKED ) );
- m_aAllString = String( SVX_RESSTR( RID_SVXSTR_LANGUAGE_ALL ) );
+ m_aAllString = SVX_RESSTR( RID_SVXSTR_LANGUAGE_ALL );
m_nLangList = LANG_LIST_EMPTY;
m_bHasLangNone = sal_False;
m_bLangNoneIsLangAll = sal_False;
@@ -343,7 +343,7 @@ sal_uInt16 SvxLanguageBox::ImplInsertLanguage( const LanguageType nLangType, sal
return nAt;
}
- String aStrEntry = m_pLangTable->GetString( nLang );
+ OUString aStrEntry = m_pLangTable->GetString( nLang );
if (LANGUAGE_NONE == nLang && m_bHasLangNone && m_bLangNoneIsLangAll)
aStrEntry = m_aAllString;
@@ -351,12 +351,12 @@ sal_uInt16 SvxLanguageBox::ImplInsertLanguage( const LanguageType nLangType, sal
if (nRealLang == LANGUAGE_SYSTEM)
{
nRealLang = MsLangId::resolveSystemLanguageByScriptType(nRealLang, nType);
- aStrEntry.AppendAscii(" - ");
- aStrEntry.Append(m_pLangTable->GetString( nRealLang ));
+ aStrEntry += " - ";
+ aStrEntry += m_pLangTable->GetString( nRealLang );
} else if (nRealLang == LANGUAGE_USER_SYSTEM_CONFIG) {
nRealLang = MsLangId::getSystemLanguage();
- aStrEntry.AppendAscii(" - ");
- aStrEntry.Append(m_pLangTable->GetString( nRealLang ));
+ aStrEntry += " - ";
+ aStrEntry += m_pLangTable->GetString( nRealLang );
}
aStrEntry = ApplyLreOrRleEmbedding( aStrEntry );
@@ -414,7 +414,7 @@ sal_uInt16 SvxLanguageBox::InsertLanguage( const LanguageType nLangType,
return nAt;
}
- String aStrEntry = m_pLangTable->GetString( nLang );
+ OUString aStrEntry = m_pLangTable->GetString( nLang );
if (LANGUAGE_NONE == nLang && m_bHasLangNone && m_bLangNoneIsLangAll)
aStrEntry = m_aAllString;