From a2454a42ad2236f0f6b88be166bc7e6a8f90f036 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 9 Mar 2013 17:22:11 +0100 Subject: fdo#43460: use isEmpty() Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e --- i18npool/source/localedata/LocaleNode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18npool') 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 -- cgit