summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry/indexentrysupplier.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-26 17:19:24 -0200
committerJan Holesovsky <kendy@suse.cz>2011-12-30 11:52:45 +0100
commita17fb882569046cd9f6940cf2e87435200bb666b (patch)
tree36c9a0bff1d5dd5490c03f36553f5ae7b0f4bdf1 /i18npool/source/indexentry/indexentrysupplier.cxx
parent6cfae09e5dafa477db210272949e253d4fb24349 (diff)
Fix for fdo43460 Part XXI getLength() to isEmpty()
Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess
Diffstat (limited to 'i18npool/source/indexentry/indexentrysupplier.cxx')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier.cxx b/i18npool/source/indexentry/indexentrysupplier.cxx
index cb53771e5768..3d87914ec8f3 100644
--- a/i18npool/source/indexentry/indexentrysupplier.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier.cxx
@@ -129,13 +129,13 @@ IndexEntrySupplier::getLocaleSpecificIndexEntrySupplier(const Locale& rLocale, c
else if (xMSF.is()) {
LocaleData ld;
aLocale = rLocale;
- if (rSortAlgorithm.getLength() == 0)
+ if (rSortAlgorithm.isEmpty())
aSortAlgorithm = ld.getDefaultIndexAlgorithm( rLocale );
else
aSortAlgorithm = rSortAlgorithm;
OUString module = ld.getIndexModuleByAlgorithm(rLocale, aSortAlgorithm);
- if (module.getLength() > 0 && createLocaleSpecificIndexEntrySupplier(module))
+ if (!module.isEmpty() && createLocaleSpecificIndexEntrySupplier(module))
return xIES;
sal_Int32 l = rLocale.Language.getLength();