From b347e5da870d8a4fa8e6e093165fea7dc21dae79 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Apr 2016 17:17:31 +0200 Subject: loplugin:salbool: Automatic rewrite of sal_False/True Change-Id: I3f7f71f05db09219f0de3ec14bdb56bd16fb0c8d --- i18npool/source/indexentry/indexentrysupplier.cxx | 2 +- i18npool/source/indexentry/indexentrysupplier_common.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'i18npool/source/indexentry') 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, -- cgit