diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-22 12:48:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-23 11:11:47 +0200 |
commit | e4f690b0389263c35f83fa8b58382c6518d00f62 (patch) | |
tree | e89a15c8f29c51394ff539eabc6e122ab6d1c70f /i18npool/source/collator | |
parent | hwpfilter: sal_Bool->bool (diff) | |
download | core-e4f690b0389263c35f83fa8b58382c6518d00f62.tar.gz core-e4f690b0389263c35f83fa8b58382c6518d00f62.zip |
i18npool: sal_Bool->bool
Change-Id: Id73ee64dbf8586743f0e436e004e663a65d4548f
Diffstat (limited to 'i18npool/source/collator')
-rw-r--r-- | i18npool/source/collator/collatorImpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/collator/collatorImpl.cxx b/i18npool/source/collator/collatorImpl.cxx index f0a56497d159..d11db2d6771e 100644 --- a/i18npool/source/collator/collatorImpl.cxx +++ b/i18npool/source/collator/collatorImpl.cxx @@ -141,7 +141,7 @@ CollatorImpl::listCollatorOptions( const OUString& /*collatorAlgorithmName*/ ) t return option_int; } -sal_Bool SAL_CALL +bool SAL_CALL CollatorImpl::createCollator(const lang::Locale& rLocale, const OUString& serviceName, const OUString& rSortAlgorithm) throw(RuntimeException) { @@ -149,7 +149,7 @@ CollatorImpl::createCollator(const lang::Locale& rLocale, const OUString& servic cachedItem = lookupTable[l]; if (cachedItem->service.equals(serviceName)) {// cross locale sharing lookupTable.push_back(cachedItem = new lookupTableItem(rLocale, rSortAlgorithm, serviceName, cachedItem->xC)); - return sal_True; + return true; } } Reference < XInterface > xI = @@ -160,10 +160,10 @@ CollatorImpl::createCollator(const lang::Locale& rLocale, const OUString& servic xC.set( xI, UNO_QUERY ); if (xC.is()) { lookupTable.push_back(cachedItem = new lookupTableItem(rLocale, rSortAlgorithm, serviceName, xC)); - return sal_True; + return true; } } - return sal_False; + return false; } void SAL_CALL |