summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-09 17:22:11 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 20:32:39 +0100
commita2454a42ad2236f0f6b88be166bc7e6a8f90f036 (patch)
tree7f6dfc38cfd617f41c63a17640ec7ef8650a2c45 /i18npool
parenteba2ef9504fe4034cbb44840d459d82ab8a141b1 (diff)
fdo#43460: use isEmpty()
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx
index ac42d7fde40d..f8a9620874c6 100644
--- a/i18npool/source/localedata/LocaleNode.cxx
+++ b/i18npool/source/localedata/LocaleNode.cxx
@@ -1072,7 +1072,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const
cDateSep = cChar;
if (!cDateSep2)
cDateSep2 = cChar;
- if (cDateSep != cDateSep2 && aPatternBuf2.getLength() == 0)
+ if (cDateSep != cDateSep2 && aPatternBuf2.isEmpty())
aPatternBuf2 = aPatternBuf;
if (cChar == cDateSep || cChar == cDateSep2)
aPatternBuf.append( OUString( &cDateSep, 1)); // always the defined separator