summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:16:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:39 +0200
commit9ad66e5ae924b22c589601085c0a7355073a1daf (patch)
tree2bc7eef7dc2060c59a32d907280d6213b3b7aa98 /editeng/source/misc
parentcde88284e8df3c2b943904239cef8b8aedbbf57a (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I626b79e1450d78aec96c206db82bf64a47305d08
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/acorrcfg.cxx2
-rw-r--r--editeng/source/misc/splwrap.cxx4
-rw-r--r--editeng/source/misc/svxacorr.cxx2
-rw-r--r--editeng/source/misc/unolingu.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx
index 5c32f81b8ddb..aaf923366982 100644
--- a/editeng/source/misc/acorrcfg.cxx
+++ b/editeng/source/misc/acorrcfg.cxx
@@ -572,7 +572,7 @@ void SvxSwAutoCorrCfg::ImplCommit()
case 11: bVal = rSwFlags.bAddNonBrkSpace; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/AddNonBreakingSpace",
// it doesn't exist here - the common flags are used for that -> LM
case 12:
- bVal = sal_True; pValues[nProp].setValue(&bVal, rType);
+ bVal = true; pValues[nProp].setValue(&bVal, rType);
break; // "Format/Option/ChangeDash",
case 13: bVal = rSwFlags.bDelEmptyNode; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/DelEmptyParagraphs",
case 14: bVal = rSwFlags.bChgUserColl; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/ReplaceUserStyle",
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx
index ce565ee80094..39add29e7d93 100644
--- a/editeng/source/misc/splwrap.cxx
+++ b/editeng/source/misc/splwrap.cxx
@@ -433,7 +433,7 @@ Reference< XDictionary > SvxSpellWrapper::GetAllRightDic()
{
xDic = SvxGetOrCreatePosDic( xDicList );
if (xDic.is())
- xDic->setActive( sal_True );
+ xDic->setActive( true );
}
}
@@ -465,7 +465,7 @@ bool SvxSpellWrapper::FindSpellError()
{
if (IsAllRight() && xAllRightDic.is())
{
- xAllRightDic->add( xAlt->getWord(), sal_False, OUString() );
+ xAllRightDic->add( xAlt->getWord(), false, OUString() );
}
else
{
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index cafb0c0e5998..641c59fc7d56 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -2349,7 +2349,7 @@ void SvxAutoCorrectLanguageLists::MakeUserStorage_Impl()
aInfo.NameClash = NameClash::OVERWRITE;
aInfo.NewTitle = aDest.GetName();
aInfo.SourceURL = aSource.GetMainURL( INetURLObject::DECODE_TO_IURI );
- aInfo.MoveData = sal_False;
+ aInfo.MoveData = false;
aAny <<= aInfo;
aNewContent.executeCommand( "transfer", aAny);
}
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 88deb22ce12b..01ae02447b62 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -699,7 +699,7 @@ uno::Reference< XDictionary > LinguMgr::GetStandard()
if (xTmp.is())
{
xTmpDicList->addDictionary( xTmp );
- xTmp->setActive( sal_True );
+ xTmp->setActive( true );
}
xDic.set( xTmp, UNO_QUERY );
}