From 2a3e2bb484d79f101f2c8a986142ac390aea85cc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 7 Feb 2012 21:29:49 +0100 Subject: Reintroduce MSVC workaround ...originally introduced with 02abccf953185f266979aafd946f5b96c5d59875 but erroneously purged with 9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c. --- svl/inc/svl/style.hxx | 1 + svl/source/items/style.cxx | 4 ++++ 2 files changed, 5 insertions(+) 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 ) ); -- cgit v1.2.3