diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-25 20:26:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-25 20:26:37 +0100 |
commit | 4415c9f54d8e723343c90561377ea4b8b4654a8a (patch) | |
tree | 1a0e4feea1042bc61ac096f447525818e3a3ce51 /vcl | |
parent | 129f814f6a18bf474f22a1ea9c9aa92677a8e6a5 (diff) |
loplugin:simplifybool
Change-Id: Ice6dfc7b8e295f322f38f8bc8f01d6776c742e54
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/osx/printaccessoryview.mm | 6 |
1 files 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 ) |