diff options
Diffstat (limited to 'svl/source/items/style.cxx')
-rw-r--r-- | svl/source/items/style.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 2a1929e78fb0..595ed7b41ae8 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -154,25 +154,6 @@ SfxStyleSheetBase::SfxStyleSheetBase( const SfxStyleSheetBase& r ) pSet = NULL; } -static SfxStyleSheetBasePool& implGetStaticPool() -{ - static SfxStyleSheetBasePool* pSheetPool = 0; - static SfxItemPool* pBasePool = 0; - if( !pSheetPool ) - { - UniString aName; - pBasePool = new SfxItemPool( aName, 0, 0, 0 ); - pSheetPool = new SfxStyleSheetBasePool(*pBasePool); - } - return *pSheetPool; -} - -SfxStyleSheetBase::SfxStyleSheetBase() -: comphelper::OWeakTypeObject() -, rPool( implGetStaticPool() ) -{ -} - SfxStyleSheetBase::~SfxStyleSheetBase() { #ifdef DBG_UTIL |