From db67f6f40839814c148f1a414e3c3bde188111f9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Apr 2016 17:20:48 +0200 Subject: loplugin:salbool: Automatic rewrite of sal_False/True Change-Id: Ife577280d5176d9f48bff719c7b52fc829ae49f1 --- unodevtools/source/skeletonmaker/skeletonmaker.cxx | 2 +- unodevtools/source/unodevtools/options.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'unodevtools/source') 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; } -- cgit