diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-07 21:29:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-07 21:29:49 +0100 |
commit | 2a3e2bb484d79f101f2c8a986142ac390aea85cc (patch) | |
tree | 85338f1854c8ac2e1d87cd0a5cf075983d4c0f6b | |
parent | 2beacf2405df7c2244f09642c4cbc2448585fc02 (diff) |
Reintroduce MSVC workaround
...originally introduced with 02abccf953185f266979aafd946f5b96c5d59875 but
erroneously purged with 9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c.
-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 ) ); |