summaryrefslogtreecommitdiff
path: root/linguistic/source/convdiclist.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:17:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:44 +0200
commit99b05d1169646710c19c1c20953ed625cb967d9f (patch)
treef0e8b930e31f6eb237a0eafcbc00d93e41e67eef /linguistic/source/convdiclist.cxx
parent0f1e0324312470340b3695c85385e51d1db21e67 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Idd106e7ab94a7377807872d7742263225b22da28
Diffstat (limited to 'linguistic/source/convdiclist.cxx')
-rw-r--r--linguistic/source/convdiclist.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx
index 17487591ad31..8394c59d0589 100644
--- a/linguistic/source/convdiclist.cxx
+++ b/linguistic/source/convdiclist.cxx
@@ -398,7 +398,7 @@ ConvDicNameContainer & ConvDicList::GetNameContainer()
uno::Reference< XConversionDictionary > xDic =
pNameContainer->GetByName( pActiveConvDics[i] );
if (xDic.is())
- xDic->setActive( sal_True );
+ xDic->setActive( true );
}
// since there is no UI to active/deactivate the dictionaries
@@ -408,9 +408,9 @@ ConvDicNameContainer & ConvDicList::GetNameContainer()
uno::Reference< XConversionDictionary > xT2SDic(
pNameContainer->GetByName( "ChineseT2S" ), UNO_QUERY );
if (xS2TDic.is())
- xS2TDic->setActive( sal_True );
+ xS2TDic->setActive( true );
if (xT2SDic.is())
- xT2SDic->setActive( sal_True );
+ xT2SDic->setActive( true );
}
return *pNameContainer;
@@ -454,7 +454,7 @@ uno::Reference< XConversionDictionary > SAL_CALL ConvDicList::addNewDictionary(
throw NoSupportException();
else
{
- xRes->setActive( sal_True );
+ xRes->setActive( true );
uno::Any aAny;
aAny <<= xRes;
GetNameContainer().insertByName( rName, aAny );