[Libreoffice-commits] core.git: canvas/source connectivity/source extensions/source fpicker/source winaccessibility/source

Stephan Bergmann sbergman at redhat.com
Fri Jan 6 10:20:12 UTC 2017


 canvas/source/directx/dx_spritecanvas.cxx               |    2 +-
 connectivity/source/drivers/ado/AConnection.cxx         |    2 +-
 extensions/source/ole/unoconversionutilities.hxx        |    2 +-
 fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx |    2 +-
 winaccessibility/source/UAccCOM/MAccessible.cxx         |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit c38aa3b734a0176eedb41d8c2c40f5ac293c11ba
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 6 11:19:42 2017 +0100

    loplugin:salbool
    
    Change-Id: I7dfd48a04e2dff1391d10acb75180711b403af9b

diff --git a/canvas/source/directx/dx_spritecanvas.cxx b/canvas/source/directx/dx_spritecanvas.cxx
index 291c19f..16d7287 100644
--- a/canvas/source/directx/dx_spritecanvas.cxx
+++ b/canvas/source/directx/dx_spritecanvas.cxx
@@ -89,7 +89,7 @@ namespace dxcanvas
         awt::Rectangle aRect;
         maArguments[2] >>= aRect;
 
-        sal_Bool bIsFullscreen( false );
+        bool bIsFullscreen( false );
         maArguments[3] >>= bIsFullscreen;
 
         // setup helper
diff --git a/connectivity/source/drivers/ado/AConnection.cxx b/connectivity/source/drivers/ado/AConnection.cxx
index a61e12d..d5a2a60 100644
--- a/connectivity/source/drivers/ado/AConnection.cxx
+++ b/connectivity/source/drivers/ado/AConnection.cxx
@@ -108,7 +108,7 @@ void OConnection::construct(const OUString& url,const Sequence< PropertyValue >&
         aDSN = aDSN.copy(7);
 
     sal_Int32 nTimeout = 20;
-    sal_Bool bSilent = true;
+    bool bSilent = true;
     const PropertyValue *pIter  = info.getConstArray();
     const PropertyValue *pEnd   = pIter + info.getLength();
     for(;pIter != pEnd;++pIter)
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index 1462997..430064f 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -794,7 +794,7 @@ void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny)
         }
         case TypeClass_BOOLEAN:
         {
-            sal_Bool value;
+            bool value;
             if (rAny >>= value)
             {
                 pVariant->vt = VT_BOOL;
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index e91d3fe..b4c1e9b 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -1074,7 +1074,7 @@ void VistaFilePickerImpl::impl_sta_SetControlValue(const RequestRef& rRequest)
         //case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_PREVIEW : // can be ignored ... preview is supported native now !
         case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_SELECTION :
             {
-                sal_Bool bValue   = false;
+                bool bValue   = false;
                            aValue >>= bValue;
                 iCustom->SetCheckButtonState(nId, bValue);
             }
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx
index fd495a1..b832c53 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.cxx
+++ b/winaccessibility/source/UAccCOM/MAccessible.cxx
@@ -2678,7 +2678,7 @@ void CMAccessible::get_OLECHARFromAny(Any& pAny, OLECHAR* pChar)
         }
     case TypeClass_BOOLEAN:
         {
-            sal_Bool val;
+            bool val;
             pAny >>= val;
             swprintf( pChar, L"%d", val);
             break;


More information about the Libreoffice-commits mailing list