From 4415c9f54d8e723343c90561377ea4b8b4654a8a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 25 Oct 2015 20:26:37 +0100 Subject: loplugin:simplifybool Change-Id: Ice6dfc7b8e295f322f38f8bc8f01d6776c742e54 --- vcl/osx/printaccessoryview.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm index b4042d2441a9..22a61a98cf91 100644 --- a/vcl/osx/printaccessoryview.mm +++ b/vcl/osx/printaccessoryview.mm @@ -1085,7 +1085,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO { sal_Bool bValue = sal_True; rEntry.Value >>= bValue; - bEnabled = bValue ? true : false; + bEnabled = bValue; } else if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("MinValue")) ) { @@ -1103,7 +1103,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO { sal_Bool bValue = sal_False; rEntry.Value >>= bValue; - bIgnore = bValue ? true : false; + bIgnore = bValue; } else if( rEntry.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("GroupingHint")) ) { @@ -1182,7 +1182,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO if( pVal ) pVal->Value >>= bVal; addBool( pCurParent, nCurX, nCurY, nAttachOffset, - aText, true, aPropertyName, bVal?true:false, + aText, true, aPropertyName, bVal, aRightColumn, pControllerProperties, pCtrlTarget ); } else if( aCtrlType.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Radio")) && pCurParent ) -- cgit