summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-21 19:51:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-22 09:30:25 +0200
commit78526aebc83623297cb769de6618a4eddf6a93ee (patch)
tree9898911d5194d852d74a6b75a215925b07bb420e /vcl
parent8a09cd241c30969d1b5e61c17f611ddc1c09591c (diff)
loplugin:salbool
Change-Id: I4298f1da63d29133412962a9e4552a7ed473ad28
Diffstat (limited to 'vcl')
-rw-r--r--vcl/osx/printaccessoryview.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm
index 8d2ef5b231b6..db23d3ca8359 100644
--- a/vcl/osx/printaccessoryview.mm
+++ b/vcl/osx/printaccessoryview.mm
@@ -1083,7 +1083,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
}
else if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Enabled")) )
{
- sal_Bool bValue = sal_True;
+ sal_Bool bValue = true;
rEntry.Value >>= bValue;
bEnabled = bValue;
}
@@ -1101,7 +1101,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
}
else if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("InternalUIOnly")) )
{
- sal_Bool bValue = sal_False;
+ sal_Bool bValue = false;
rEntry.Value >>= bValue;
bIgnore = bValue;
}
@@ -1177,7 +1177,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
}
else if( aCtrlType.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Bool")) && pCurParent )
{
- sal_Bool bVal = sal_False;
+ sal_Bool bVal = false;
PropertyValue* pVal = pController->getValue( aPropertyName );
if( pVal )
pVal->Value >>= bVal;