summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:20:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:29 +0200
commitdb67f6f40839814c148f1a414e3c3bde188111f9 (patch)
treec9fd35ae19fbb6adf3ccb13f094f2a407e421565 /unodevtools
parentf9ec2400464f4ce84a0d4e4b1e125449ea212bb1 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ife577280d5176d9f48bff719c7b52fc829ae49f1
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/skeletonmaker/skeletonmaker.cxx2
-rw-r--r--unodevtools/source/unodevtools/options.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/unodevtools/source/skeletonmaker/skeletonmaker.cxx b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
index b403c7f08647..fcca636b5e30 100644
--- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx
+++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
@@ -138,7 +138,7 @@ SAL_IMPLEMENT_MAIN()
sal_uInt32 nPos = 0;
OUString arg, sOption;
- sal_Bool bOption=sal_False;
+ sal_Bool bOption=false;
// check command
rtl_getAppCommandArg(nPos++, &arg.pData);
diff --git a/unodevtools/source/unodevtools/options.cxx b/unodevtools/source/unodevtools/options.cxx
index 47a49e552563..d3302bb2c3f1 100644
--- a/unodevtools/source/unodevtools/options.cxx
+++ b/unodevtools/source/unodevtools/options.cxx
@@ -74,7 +74,7 @@ bool readOption( sal_Bool * pbOpt, const sal_Char * pOpt,
(aArg.startsWith("--") && aOpt.equalsIgnoreAsciiCase(aArg.copy(2))) )
{
++(*pnIndex);
- *pbOpt = sal_True;
+ *pbOpt = true;
SAL_INFO("unodevtools", "identified option --" << pOpt);
return true;
}