[Libreoffice-commits] core.git: vcl/osx

Stephan Bergmann sbergman at redhat.com
Sun Jan 8 13:07:52 UTC 2017


 vcl/osx/printaccessoryview.mm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 49f3bb85ab04752bb2bf0f6f5e261218deddcdb9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Jan 8 14:07:21 2017 +0100

    loplugin:salbool
    
    Change-Id: I1da621fa46de1ff0c268d10d46a7b5a8bd860623

diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm
index e25bf7a..7e155c4 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 == "Enabled" )
             {
-                sal_Bool bValue = true;
+                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 == "InternalUIOnly" )
             {
-                sal_Bool bValue = false;
+                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 == "Bool" && pCurParent )
             {
-                sal_Bool bVal = false;
+                bool bVal = false;
                 PropertyValue* pVal = pController->getValue( aPropertyName );
                 if( pVal )
                     pVal->Value >>= bVal;


More information about the Libreoffice-commits mailing list