diff options
-rw-r--r-- | editeng/source/uno/unoedprx.cxx | 10 | ||||
-rw-r--r-- | include/editeng/unoedprx.hxx | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index 04b6ffd6c9dd..aa49d90e8a66 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -302,7 +302,7 @@ sal_Bool SvxAccessibleTextIndex::IsEditableRange( const SvxAccessibleTextIndex& -SvxEditSourceAdapter::SvxEditSourceAdapter() : mbEditSourceValid( sal_False ) +SvxEditSourceAdapter::SvxEditSourceAdapter() : mbEditSourceValid( false ) { } @@ -363,7 +363,7 @@ SvxViewForwarder* SvxEditSourceAdapter::GetViewForwarder() return NULL; } -SvxAccessibleTextEditViewAdapter* SvxEditSourceAdapter::GetEditViewForwarderAdapter( sal_Bool bCreate ) +SvxAccessibleTextEditViewAdapter* SvxEditSourceAdapter::GetEditViewForwarderAdapter( bool bCreate ) { if( mbEditSourceValid && mpAdaptee.get() ) { @@ -410,19 +410,19 @@ void SvxEditSourceAdapter::SetEditSource( ::std::auto_ptr< SvxEditSource > pAdap if( pAdaptee.get() ) { mpAdaptee = pAdaptee; - mbEditSourceValid = sal_True; + mbEditSourceValid = true; } else { // do a lazy delete (prevents us from deleting the broadcaster // from within a broadcast in // AccessibleTextHelper_Impl::Notify) - mbEditSourceValid = sal_False; + mbEditSourceValid = false; } } SAL_WNODEPRECATED_DECLARATIONS_POP -sal_Bool SvxEditSourceAdapter::IsValid() const +bool SvxEditSourceAdapter::IsValid() const { return mbEditSourceValid; } diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx index 5fe0f6f8a609..a459c8b31607 100644 --- a/include/editeng/unoedprx.hxx +++ b/include/editeng/unoedprx.hxx @@ -147,14 +147,14 @@ public: SvxAccessibleTextAdapter* GetTextForwarderAdapter(); // covariant return types don't work on MSVC virtual SvxViewForwarder* GetViewForwarder(); virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; - SvxAccessibleTextEditViewAdapter* GetEditViewForwarderAdapter( sal_Bool bCreate = sal_False ); // covariant return types don't work on MSVC + SvxAccessibleTextEditViewAdapter* GetEditViewForwarderAdapter( bool bCreate = false ); // covariant return types don't work on MSVC virtual void UpdateData(); virtual SfxBroadcaster& GetBroadcaster() const; SAL_WNODEPRECATED_DECLARATIONS_PUSH void SetEditSource( ::std::auto_ptr< SvxEditSource > pAdaptee ); SAL_WNODEPRECATED_DECLARATIONS_POP - sal_Bool IsValid() const; + bool IsValid() const; private: // declared, but not defined @@ -170,7 +170,7 @@ private: mutable SfxBroadcaster maDummyBroadcaster; - sal_Bool mbEditSourceValid; + bool mbEditSourceValid; }; #endif |