summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:18:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:47 +0200
commitb8f04b740fe3e61269daeccbbb9bc5752e5fd5b3 (patch)
tree65917f17e4551e203f481a4ae48d881299426e1b
parentcb30036c3c9723e75c4b0ca73db6acdea4b66adb (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I0a21a23a2f8b9e87f53283c88973109dd54af1b4
-rw-r--r--rsc/source/parser/rscinit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 77a2a5c917cb..eca02aa5b7a0 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -99,8 +99,8 @@ void RscTypCont::Init()
aNmTb.Put( "writeifset", WRITEIFSET, (sal_IntPtr)0 );
/* values for integer types */
- aNmTb.Put( "TRUE", BOOLEAN, (sal_IntPtr)sal_True );
- aNmTb.Put( "FALSE", BOOLEAN, (sal_IntPtr)sal_False );
+ aNmTb.Put( "TRUE", BOOLEAN, (sal_IntPtr)true );
+ aNmTb.Put( "FALSE", BOOLEAN, (sal_IntPtr)false );
aNmTb.Put( "XSCALE", XSCALE , (sal_IntPtr)0 );
aNmTb.Put( "YSCALE", YSCALE , (sal_IntPtr)0 );