summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-25 23:10:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-26 13:34:03 +0100
commitd9a00ace2ce3423c1ac08eee0bd1fd36dace8d3e (patch)
tree2a3900905792268c39f0c9596a5eb9ecdc8a3c61 /unotools
parent4f25eb2c4eb7b5ce265eefe25a5ab84a39daf574 (diff)
tidy some resource strings
Change-Id: I611a276d048121084ec842d062129e042f3baea5
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx21
1 files changed, 8 insertions, 13 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index 67663acec8cf..976793b77ad6 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -296,24 +296,20 @@ void LocaleDataWrapper::invalidateData()
{
if (areChecksEnabled())
{
- String aMsg( RTL_CONSTASCII_USTRINGPARAM(
- "LocaleDataWrapper::getInstalledLanguageTypes: Variants not supported, locale\n"));
- aMsg += aDebugLocale;
- outputCheckMessage( aMsg );
+ rtl::OUStringBuffer aMsg("LocaleDataWrapper::getInstalledLanguageTypes: Variants not supported, locale\n");
+ aMsg.append(aDebugLocale);
+ outputCheckMessage(aMsg.makeStringAndClear());
}
continue;
}
LanguageType eLang = MsLangId::convertLocaleToLanguage( xLoc[i] );
// In checks, exclude known problems because no MS-LCID defined.
- if (areChecksEnabled() && eLang == LANGUAGE_DONTKNOW
-// && !aDebugLocale.EqualsAscii( "br_AE" ) // ?!? Breton in United Arabic Emirates
- )
+ if (areChecksEnabled() && eLang == LANGUAGE_DONTKNOW)
{
- String aMsg( RTL_CONSTASCII_USTRINGPARAM(
- "ConvertIsoNamesToLanguage: unknown MS-LCID for locale\n"));
- aMsg += aDebugLocale;
- outputCheckMessage( aMsg );
+ rtl::OUStringBuffer aMsg("ConvertIsoNamesToLanguage: unknown MS-LCID for locale\n");
+ aMsg.append(aDebugLocale);
+ outputCheckMessage(aMsg.makeStringAndClear());
}
switch ( eLang )
@@ -622,8 +618,7 @@ void LocaleDataWrapper::getCurrSymbolsImpl()
if ( nElem >= nCnt )
{
if (areChecksEnabled())
- outputCheckMessage( String( RTL_CONSTASCII_USTRINGPARAM(
- "LocaleDataWrapper::getCurrSymbolsImpl: no currency at all, using ShellsAndPebbles")));
+ outputCheckMessage(rtl::OUString("LocaleDataWrapper::getCurrSymbolsImpl: no currency at all, using ShellsAndPebbles"));
aCurrSymbol = rtl::OUString("ShellsAndPebbles");
aCurrBankSymbol = aCurrSymbol;
nCurrPositiveFormat = nCurrNegativeFormat = nCurrFormatDefault;