summaryrefslogtreecommitdiff
path: root/svl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'svl/inc')
-rw-r--r--svl/inc/svl/style.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx
index 02e4a127ab34..5fe0d0b217b4 100644
--- a/svl/inc/svl/style.hxx
+++ b/svl/inc/svl/style.hxx
@@ -84,7 +84,9 @@ SfxStyleSheetHint( SFX_STYLESHEET_ERASED, *p ) from:
class SVL_DLLPUBLIC SfxStyleSheetBase : public comphelper::OWeakTypeObject
{
+private:
friend class SfxStyleSheetBasePool;
+ SVL_DLLPRIVATE static SfxStyleSheetBasePool& implGetStaticPool();
protected:
SfxStyleSheetBasePool& rPool; // zugehoeriger Pool
@@ -100,7 +102,11 @@ protected:
sal_Bool bMySet; // sal_True: Set loeschen im dtor
- SfxStyleSheetBase(); // do not use!
+ SfxStyleSheetBase() // do not use!
+ : comphelper::OWeakTypeObject()
+ , rPool( implGetStaticPool() )
+ {
+ }
SfxStyleSheetBase( const UniString&, SfxStyleSheetBasePool&, SfxStyleFamily eFam, sal_uInt16 mask );
SfxStyleSheetBase( const SfxStyleSheetBase& );
virtual ~SfxStyleSheetBase();