summaryrefslogtreecommitdiffstats
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-16 09:48:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-16 10:26:03 +0000
commit08c475bb24a34f3a6a3f08e8490b521e8dcc96be (patch)
tree45380d74b4b7f751d43041f28e9588f8ca7a1a89 /svl
parentfix up const malformed copy ctors and operator= (diff)
downloadcore-08c475bb24a34f3a6a3f08e8490b521e8dcc96be.tar.gz
core-08c475bb24a34f3a6a3f08e8490b521e8dcc96be.zip
callcatcher: update unused code list
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/style.hxx8
-rw-r--r--svl/source/items/style.cxx8
2 files changed, 8 insertions, 8 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();
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index c3e11e16d3d8..2b3808013217 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -146,7 +146,7 @@ SfxStyleSheetBase::SfxStyleSheetBase( const SfxStyleSheetBase& r )
pSet = NULL;
}
-static SfxStyleSheetBasePool& implGetStaticPool()
+SfxStyleSheetBasePool& SfxStyleSheetBase::implGetStaticPool()
{
static SfxStyleSheetBasePool* pSheetPool = 0;
static SfxItemPool* pBasePool = 0;
@@ -159,12 +159,6 @@ static SfxStyleSheetBasePool& implGetStaticPool()
return *pSheetPool;
}
-SfxStyleSheetBase::SfxStyleSheetBase()
-: comphelper::OWeakTypeObject()
-, rPool( implGetStaticPool() )
-{
-}
-
SfxStyleSheetBase::~SfxStyleSheetBase()
{
#ifdef DBG_UTIL