[Libreoffice-commits] core.git: comphelper/source include/comphelper sd/source svx/source

Stephan Bergmann sbergman at redhat.com
Thu Jul 3 02:51:41 PDT 2014


 comphelper/source/misc/accessibleselectionhelper.cxx      |    8 ++++----
 comphelper/source/misc/accimplaccess.cxx                  |    2 +-
 include/comphelper/accessibleselectionhelper.hxx          |    2 +-
 include/comphelper/accimplaccess.hxx                      |    2 +-
 sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx |    2 +-
 sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx |    2 +-
 sd/source/ui/inc/AccessibleDocumentViewBase.hxx           |    2 +-
 sd/source/ui/inc/AccessibleDrawDocumentView.hxx           |    2 +-
 svx/source/accessibility/charmapacc.cxx                   |    2 +-
 svx/source/inc/charmapacc.hxx                             |    2 +-
 10 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 2134c9653ef1744cb6b422644673ed086f4f663d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jul 3 11:51:01 2014 +0200

    comphelper: sal_Bool -> bool
    
    Change-Id: I7d7ae1f5ddff0cf7d11a407b190256f37a71d48a

diff --git a/comphelper/source/misc/accessibleselectionhelper.cxx b/comphelper/source/misc/accessibleselectionhelper.cxx
index 35c6622..814faa1 100644
--- a/comphelper/source/misc/accessibleselectionhelper.cxx
+++ b/comphelper/source/misc/accessibleselectionhelper.cxx
@@ -42,7 +42,7 @@ namespace comphelper
 
     void SAL_CALL OCommonAccessibleSelection::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
     {
-        implSelect( nChildIndex, sal_True );
+        implSelect( nChildIndex, true );
     }
 
 
@@ -54,13 +54,13 @@ namespace comphelper
 
     void SAL_CALL OCommonAccessibleSelection::clearAccessibleSelection(  ) throw (RuntimeException)
     {
-        implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, sal_False );
+        implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, false );
     }
 
 
     void SAL_CALL OCommonAccessibleSelection::selectAllAccessibleChildren(  ) throw (RuntimeException)
     {
-        implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, sal_True );
+        implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, true );
     }
 
 
@@ -102,7 +102,7 @@ namespace comphelper
 
     void SAL_CALL OCommonAccessibleSelection::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
     {
-        implSelect( nSelectedChildIndex, sal_False );
+        implSelect( nSelectedChildIndex, false );
     }
 
 
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index 6cf5637..96f255d 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -84,7 +84,7 @@ namespace comphelper
     }
 
 
-    void OAccessibleImplementationAccess::setStateBit( const sal_Int16 _nState, const sal_Bool _bSet )
+    void OAccessibleImplementationAccess::setStateBit( const sal_Int16 _nState, const bool _bSet )
     {
         OSL_ENSURE( _nState >= 0 && static_cast< sal_uInt16 >(_nState) < sizeof( sal_Int64 ) * 8, "OAccessibleImplementationAccess::setStateBit: no more bits (shutting down the universe now)!" );
 
diff --git a/include/comphelper/accessibleselectionhelper.hxx b/include/comphelper/accessibleselectionhelper.hxx
index dbc4c20..4bb64a9 100644
--- a/include/comphelper/accessibleselectionhelper.hxx
+++ b/include/comphelper/accessibleselectionhelper.hxx
@@ -62,7 +62,7 @@ namespace comphelper
 
         // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
         virtual void
-            implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+            implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect )
             throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) = 0;
 
     protected:
diff --git a/include/comphelper/accimplaccess.hxx b/include/comphelper/accimplaccess.hxx
index f416e14..2c6f159 100644
--- a/include/comphelper/accimplaccess.hxx
+++ b/include/comphelper/accimplaccess.hxx
@@ -85,7 +85,7 @@ namespace comphelper
             const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& _rxAccParent );
 
         /// sets or resets a bit of the foreign controlled states
-        void setStateBit( const sal_Int16 _nState, const sal_Bool _bSet );
+        void setStateBit( const sal_Int16 _nState, const bool _bSet );
 
     protected:
         OAccessibleImplementationAccess( );
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
index d5a7211..333c165 100644
--- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
@@ -729,7 +729,7 @@ bool
 
 // return nothing in default case
 void
-    AccessibleDocumentViewBase::implSelect( sal_Int32, sal_Bool )
+    AccessibleDocumentViewBase::implSelect( sal_Int32, bool )
     throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
 {
 }
diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
index aa2a967..26d4697 100644
--- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
@@ -702,7 +702,7 @@ bool
     the XSelectionSupplier of the controller.
 */
 void
-    AccessibleDrawDocumentView::implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+    AccessibleDrawDocumentView::implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect )
     throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
 {
     const SolarMutexGuard aSolarGuard;
diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
index 70c3e44..24916f6a 100644
--- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
+++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
@@ -273,7 +273,7 @@ private:
 
     // return nothing in default case
     virtual void
-        implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+        implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect )
         throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
 
 protected:
diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
index a77e4d9..2512145 100644
--- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
+++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
@@ -138,7 +138,7 @@ protected:
             reps. children.
     */
     virtual void
-        implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+        implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect )
         throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
 private:
     ::sd::ViewShell* mpSdViewSh;
diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx
index 46db02e..c0b6394 100644
--- a/svx/source/accessibility/charmapacc.cxx
+++ b/svx/source/accessibility/charmapacc.cxx
@@ -324,7 +324,7 @@ bool SvxShowCharSetAcc::implIsSelected( sal_Int32 nAccessibleChildIndex ) throw
 }
 
         // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
-void SvxShowCharSetAcc::implSelect(sal_Int32 nAccessibleChildIndex, sal_Bool bSelect)
+void SvxShowCharSetAcc::implSelect(sal_Int32 nAccessibleChildIndex, bool bSelect)
     throw (IndexOutOfBoundsException, RuntimeException, std::exception)
 {
     if ( m_pParent )
diff --git a/svx/source/inc/charmapacc.hxx b/svx/source/inc/charmapacc.hxx
index 67db879..c2f5cfa 100644
--- a/svx/source/inc/charmapacc.hxx
+++ b/svx/source/inc/charmapacc.hxx
@@ -198,7 +198,7 @@ namespace svx
 
         // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
         virtual void
-            implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+            implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect )
             throw (css::lang::IndexOutOfBoundsException,
                    css::uno::RuntimeException,
                    std::exception) SAL_OVERRIDE;


More information about the Libreoffice-commits mailing list