diff options
-rw-r--r-- | svl/inc/svl/style.hxx | 1 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx index ceb8050f31c8..e347d54486a3 100644 --- a/svl/inc/svl/style.hxx +++ b/svl/inc/svl/style.hxx @@ -285,6 +285,7 @@ public: virtual sal_Bool SetParent( const UniString& ); protected: + SfxStyleSheet(); // do not use! needed by MSVC virtual ~SfxStyleSheet(); }; diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index c3e11e16d3d8..c49d9ad2ef9f 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -884,6 +884,10 @@ SfxStyleSheet::SfxStyleSheet(const SfxStyleSheet& rStyle) : SfxBroadcaster( rStyle ) {} +SfxStyleSheet::SfxStyleSheet() +{ +} + SfxStyleSheet::~SfxStyleSheet() { Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_INDESTRUCTION, *this ) ); |