summaryrefslogtreecommitdiff
path: root/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx')
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
index 40f7dd279168..2fb10c1d70a2 100644
--- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
+++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
@@ -227,7 +227,7 @@ sal_Bool SAL_CALL Hyphenator::hasLocale(const Locale& rLocale)
{
MutexGuard aGuard( GetLinguMutex() );
- sal_Bool bRes = sal_False;
+ bool bRes = false;
if (!aSuppLocales.getLength())
getLocales();
@@ -237,7 +237,7 @@ sal_Bool SAL_CALL Hyphenator::hasLocale(const Locale& rLocale)
{
if (rLocale == pLocale[i])
{
- bRes = sal_True;
+ bRes = true;
break;
}
}
@@ -387,7 +387,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const OUString& aWo
for (sal_Int32 i = 0; i < n; i++)
{
int leftrep = 0;
- sal_Bool hit = (n >= minLen);
+ bool hit = (n >= minLen);
if (!rep || !rep[i] || (i >= n))
{
hit = hit && (hyphens[i]&1) && (i < Leading);
@@ -729,7 +729,7 @@ sal_Bool SAL_CALL Hyphenator::addLinguServiceEventListener(
{
MutexGuard aGuard( GetLinguMutex() );
- sal_Bool bRes = sal_False;
+ bool bRes = false;
if (!bDisposing && rxLstnr.is())
{
bRes = GetPropHelper().addLinguServiceEventListener( rxLstnr );
@@ -743,7 +743,7 @@ sal_Bool SAL_CALL Hyphenator::removeLinguServiceEventListener(
{
MutexGuard aGuard( GetLinguMutex() );
- sal_Bool bRes = sal_False;
+ bool bRes = false;
if (!bDisposing && rxLstnr.is())
{
bRes = GetPropHelper().removeLinguServiceEventListener( rxLstnr );