summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-03 14:08:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-03 14:11:30 +0100
commit02abccf953185f266979aafd946f5b96c5d59875 (patch)
tree1d2f73377cc56a43f475a5c4812fd68aa22f5352 /svl
parentfe1e55cd5036df79672cf4eb7a834c26f269c4ca (diff)
more uselessness in msvc
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/style.hxx1
-rw-r--r--svl/source/items/style.cxx4
2 files changed, 5 insertions, 0 deletions
diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx
index ceb8050f31c8..7edecd70883d 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!
virtual ~SfxStyleSheet();
};
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 2a1929e78fb0..a44d6424f276 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -892,6 +892,10 @@ SfxStyleSheet::SfxStyleSheet(const SfxStyleSheet& rStyle) :
SfxBroadcaster( rStyle )
{}
+SfxStyleSheet::SfxStyleSheet()
+{
+}
+
SfxStyleSheet::~SfxStyleSheet()
{
Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_INDESTRUCTION, *this ) );