diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-03 11:46:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:13 +0200 |
commit | 050d7fc852f1539f16a358c03e4e8ffb57891c4d (patch) | |
tree | 1e408d0ed742ea26a7f21e7ebea26f58b9c359d8 /include | |
parent | 7ad8e33c0f00af96ae5ee35fb360901803c3863b (diff) |
editeng: sal_Bool->bool
Change-Id: I7a7b5e9ae1762cace1f87b379b32398b231745fd
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/AccessibleContextBase.hxx | 8 | ||||
-rw-r--r-- | include/svx/AccessibleControlShape.hxx | 2 | ||||
-rw-r--r-- | include/svx/AccessibleShape.hxx | 4 | ||||
-rw-r--r-- | include/svx/AccessibleTableShape.hxx | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx index 4051929c4b65..b02c0cf68bd6 100644 --- a/include/editeng/AccessibleContextBase.hxx +++ b/include/editeng/AccessibleContextBase.hxx @@ -133,7 +133,7 @@ public: If the specified state changed its value due to this call <TRUE/> is returned, otherwise <FALSE/>. */ - virtual sal_Bool SetState (sal_Int16 aState); + virtual bool SetState (sal_Int16 aState); /** Reset the specified state (turn it off) and send events to all listeners to inform them of the change. @@ -145,7 +145,7 @@ public: If the specified state changed its value due to this call <TRUE/> is returned, otherwise <FALSE/>. */ - virtual sal_Bool ResetState (sal_Int16 aState); + virtual bool ResetState (sal_Int16 aState); /** Return the state of the specified state. @@ -156,7 +156,7 @@ public: A value of <TRUE/> indicates that the state is set. A <FALSE/> value indicates an unset state. */ - sal_Bool GetState (sal_Int16 aState); + bool GetState (sal_Int16 aState); /** Replace the current relation set with the specified one. Send events for relations that are not in both sets. @@ -334,7 +334,7 @@ protected: @return TRUE, if the object is disposed or in the course of being disposed. Otherwise, FALSE is returned. */ - sal_Bool IsDisposed (void); + bool IsDisposed (void); /** sets the role as returned by XaccessibleContext::getAccessibleRole diff --git a/include/svx/AccessibleControlShape.hxx b/include/svx/AccessibleControlShape.hxx index 42ffe354fcc5..0df43722b8fe 100644 --- a/include/svx/AccessibleControlShape.hxx +++ b/include/svx/AccessibleControlShape.hxx @@ -131,7 +131,7 @@ protected: #ifdef DBG_UTIL /// Set the specified state - virtual sal_Bool SetState( sal_Int16 _nState ); + virtual bool SetState( sal_Int16 _nState ); #endif // DBG_UTIL /// (safely) reads the given property from the model of the UNO control diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx index 86d3ca285cfa..46be425a2527 100644 --- a/include/svx/AccessibleShape.hxx +++ b/include/svx/AccessibleShape.hxx @@ -181,7 +181,7 @@ public: The returned flag indicates whether the specified state has been changed (<TRUE/>), i.e. it has formerly not been set. */ - virtual sal_Bool SetState (sal_Int16 aState); + virtual bool SetState (sal_Int16 aState); /** Reset the specified state. If the state is <const>FOCUSED</const> then, additionally to the inherited functionality, the focus @@ -195,7 +195,7 @@ public: The returned flag indicates whether the specified state has been changed (<TRUE/>), i.e. it has formerly been set. */ - virtual sal_Bool ResetState (sal_Int16 aState); + virtual bool ResetState (sal_Int16 aState); /** Return the state of the specified state. Take the <const>FOCUSED</const> state from the accessible edit engine. diff --git a/include/svx/AccessibleTableShape.hxx b/include/svx/AccessibleTableShape.hxx index b4b48020c241..9a9e95664a38 100644 --- a/include/svx/AccessibleTableShape.hxx +++ b/include/svx/AccessibleTableShape.hxx @@ -131,8 +131,8 @@ public: void getColumnAndRow( sal_Int32 nChildIndex, sal_Int32& rnColumn, sal_Int32& rnRow ) throw (::com::sun::star::lang::IndexOutOfBoundsException ); // overwrite the SetState & ResetState to do special operation for table cell's internal text - virtual sal_Bool SetState (sal_Int16 aState); - virtual sal_Bool ResetState (sal_Int16 aState); + virtual bool SetState (sal_Int16 aState); + virtual bool ResetState (sal_Int16 aState); // The following two methods are used to set state directly on table object, instread of the internal cell or paragraph. sal_Bool SetStateDirectly (sal_Int16 aState); sal_Bool ResetStateDirectly (sal_Int16 aState); |