diff options
-rw-r--r-- | include/svl/style.hxx | 4 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 2 | ||||
-rw-r--r-- | sw/inc/docstyle.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/uibase/app/docstyle.cxx | 2 |
4 files changed, 5 insertions, 7 deletions
diff --git a/include/svl/style.hxx b/include/svl/style.hxx index 5d2174f431df..493ba24004d3 100644 --- a/include/svl/style.hxx +++ b/include/svl/style.hxx @@ -136,7 +136,7 @@ public: { return ( nMask & SFXSTYLEBIT_USERDEF) != 0; } virtual bool IsHidden() const { return bHidden; } - virtual void SetHidden( sal_Bool bValue ); + virtual void SetHidden( bool bValue ); virtual sal_uLong GetHelpId( OUString& rFile ); virtual void SetHelpId( const OUString& r, sal_uLong nId ); @@ -316,8 +316,6 @@ protected: public: SfxStyleSheetPool( SfxItemPool const& ); - -// virtual sal_Bool CopyTo(SfxStyleSheetPool &rDest, const String &rSourceName); }; diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index b97007a4bde5..5d26a0faf4ac 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -238,7 +238,7 @@ bool SfxStyleSheetBase::SetParent( const OUString& rName ) return true; } -void SfxStyleSheetBase::SetHidden( sal_Bool hidden ) +void SfxStyleSheetBase::SetHidden( bool hidden ) { bHidden = hidden; pPool->Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_MODIFIED, *this ) ); diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index e90ff280de31..881cf4380c04 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -98,8 +98,8 @@ public: sal_Bool IsPhysical() const { return bPhysical; } void SetPhysical(sal_Bool bPhys); - virtual void SetHidden( sal_Bool bHidden ) SAL_OVERRIDE; - virtual bool IsHidden( ) const SAL_OVERRIDE; + virtual void SetHidden( bool bHidden ) SAL_OVERRIDE; + virtual bool IsHidden( ) const SAL_OVERRIDE; void SetGrabBagItem(const com::sun::star::uno::Any& rVal); void GetGrabBagItem(com::sun::star::uno::Any& rVal) const; diff --git a/sw/source/core/uibase/app/docstyle.cxx b/sw/source/core/uibase/app/docstyle.cxx index ca86a8ca684f..fb91ee4daec0 100644 --- a/sw/source/core/uibase/app/docstyle.cxx +++ b/sw/source/core/uibase/app/docstyle.cxx @@ -509,7 +509,7 @@ void SwDocStyleSheet::GetGrabBagItem(uno::Any& rVal) const } } // virtual methods -void SwDocStyleSheet::SetHidden( sal_Bool bValue ) +void SwDocStyleSheet::SetHidden( bool bValue ) { bool bChg = false; if(!bPhysical) |