diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 16:01:33 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 22:07:59 -0200 |
commit | 6a1390eaf6464e71668c402d262a21c9192278e9 (patch) | |
tree | 8dda8971f5559c941cd4aa8a19af1835c70ace2b /unotools/source/i18n | |
parent | 55b6485978bbfe17c1355909a5e27d8c846a4ee8 (diff) |
Fix for fdo43460 Part XLII getLength() to isEmpty()
Part XLII
Modules
unotools
Diffstat (limited to 'unotools/source/i18n')
-rw-r--r-- | unotools/source/i18n/localedatawrapper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index 2e8ebf7619c6..12aa78d3151d 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -314,11 +314,11 @@ void LocaleDataWrapper::invalidateData() if (areChecksEnabled()) { aDebugLocale = xLoc[i].Language; - if ( xLoc[i].Country.getLength() ) + if ( !xLoc[i].Country.isEmpty() ) { aDebugLocale += '_'; aDebugLocale += String( xLoc[i].Country); - if ( xLoc[i].Variant.getLength() ) + if ( !xLoc[i].Variant.isEmpty() ) { aDebugLocale += '_'; aDebugLocale += String( xLoc[i].Variant); @@ -326,7 +326,7 @@ void LocaleDataWrapper::invalidateData() } } - if ( xLoc[i].Variant.getLength() ) + if ( !xLoc[i].Variant.isEmpty() ) { if (areChecksEnabled()) { @@ -379,7 +379,7 @@ void LocaleDataWrapper::invalidateData() aMsg += String::CreateFromInt32( eLang, 16 ); aMsg.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " -> " ) ); aMsg += String( aLanguage); - if ( aCountry.getLength() ) + if ( !aCountry.isEmpty() ) { aMsg += '_'; aMsg += String( aCountry); |