summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:17:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:43 +0200
commitb347e5da870d8a4fa8e6e093165fea7dc21dae79 (patch)
tree5f22eb3d0987dd3d33652c60ea25273fc714fc3f /i18npool/source/indexentry
parent07b4791dc8d0a8b1144f6c619b7aa6f7af8bb5de (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I3f7f71f05db09219f0de3ec14bdb56bd16fb0c8d
Diffstat (limited to 'i18npool/source/indexentry')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier.cxx2
-rw-r--r--i18npool/source/indexentry/indexentrysupplier_common.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier.cxx b/i18npool/source/indexentry/indexentrysupplier.cxx
index f2d1ec4cae94..71a61bac8a12 100644
--- a/i18npool/source/indexentry/indexentrysupplier.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier.cxx
@@ -51,7 +51,7 @@ sal_Bool SAL_CALL IndexEntrySupplier::loadAlgorithm( const Locale& rLocale, cons
return xIES->loadAlgorithm(rLocale, SortAlgorithm, collatorOptions);
}
}
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL IndexEntrySupplier::usePhoneticEntry( const Locale& rLocale ) throw (RuntimeException, std::exception)
diff --git a/i18npool/source/indexentry/indexentrysupplier_common.cxx b/i18npool/source/indexentry/indexentrysupplier_common.cxx
index 0c32c0027f48..74009b97e843 100644
--- a/i18npool/source/indexentry/indexentrysupplier_common.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier_common.cxx
@@ -67,7 +67,7 @@ sal_Bool SAL_CALL IndexEntrySupplier_Common::loadAlgorithm( const lang::Locale&
collator->loadCollatorAlgorithm(rAlgorithm, rLocale, collatorOptions);
aLocale = rLocale;
aAlgorithm = rAlgorithm;
- return sal_True;
+ return true;
}
OUString SAL_CALL IndexEntrySupplier_Common::getIndexKey( const OUString& rIndexEntry,