vcl/osx/printaccessoryview.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 4415c9f54d8e723343c90561377ea4b8b4654a8a Author: Stephan Bergmann <sberg...@redhat.com> Date: Sun Oct 25 20:26:37 2015 +0100 loplugin:simplifybool Change-Id: Ice6dfc7b8e295f322f38f8bc8f01d6776c742e54 diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm index b4042d2..22a61a9 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits