summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-08-10 20:14:03 -0700
committerJoseph Powers <jpowers27@cox.net>2011-08-10 20:16:06 -0700
commitc1347b3c33069a6a7d0f387aea941f1fea7ca6cf (patch)
treed10100343802acc2948434f6899e752deed52bec /svtools
parent2b3a4d52ad63a8b388763c7c01a095e0b33db930 (diff)
unusedcode.easy: cleanup up of class GraphicManager
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/grfmgr.hxx8
-rw-r--r--svtools/source/graphic/grfmgr2.cxx42
2 files changed, 0 insertions, 50 deletions
diff --git a/svtools/inc/svtools/grfmgr.hxx b/svtools/inc/svtools/grfmgr.hxx
index f7560058c458..b245e7df9afe 100644
--- a/svtools/inc/svtools/grfmgr.hxx
+++ b/svtools/inc/svtools/grfmgr.hxx
@@ -672,21 +672,13 @@ public:
~GraphicManager();
void SetMaxCacheSize( sal_uLong nNewCacheSize );
- sal_uLong GetMaxCacheSize() const;
void SetMaxObjCacheSize(
sal_uLong nNewMaxObjSize,
sal_Bool bDestroyGreaterCached = sal_False
);
- sal_uLong GetMaxObjCacheSize() const;
-
- sal_uLong GetUsedCacheSize() const;
- sal_uLong GetFreeCacheSize() const;
void SetCacheTimeout( sal_uLong nTimeoutSeconds );
- sal_uLong GetCacheTimeout() const;
-
- void ClearCache();
void ReleaseFromCache( const GraphicObject& rObj );
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index b5d7b2bcda15..60c778b62f0a 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -137,13 +137,6 @@ void GraphicManager::SetMaxCacheSize( sal_uLong nNewCacheSize )
// -----------------------------------------------------------------------------
-sal_uLong GraphicManager::GetMaxCacheSize() const
-{
- return mpCache->GetMaxDisplayCacheSize();
-}
-
-// -----------------------------------------------------------------------------
-
void GraphicManager::SetMaxObjCacheSize( sal_uLong nNewMaxObjSize, sal_Bool bDestroyGreaterCached )
{
mpCache->SetMaxObjDisplayCacheSize( nNewMaxObjSize, bDestroyGreaterCached );
@@ -151,27 +144,6 @@ void GraphicManager::SetMaxObjCacheSize( sal_uLong nNewMaxObjSize, sal_Bool bDes
// -----------------------------------------------------------------------------
-sal_uLong GraphicManager::GetMaxObjCacheSize() const
-{
- return mpCache->GetMaxObjDisplayCacheSize();
-}
-
-// -----------------------------------------------------------------------------
-
-sal_uLong GraphicManager::GetUsedCacheSize() const
-{
- return mpCache->GetUsedDisplayCacheSize();
-}
-
-// -----------------------------------------------------------------------------
-
-sal_uLong GraphicManager::GetFreeCacheSize() const
-{
- return mpCache->GetFreeDisplayCacheSize();
-}
-
-// -----------------------------------------------------------------------------
-
void GraphicManager::SetCacheTimeout( sal_uLong nTimeoutSeconds )
{
mpCache->SetCacheTimeout( nTimeoutSeconds );
@@ -179,20 +151,6 @@ void GraphicManager::SetCacheTimeout( sal_uLong nTimeoutSeconds )
// -----------------------------------------------------------------------------
-sal_uLong GraphicManager::GetCacheTimeout() const
-{
- return mpCache->GetCacheTimeout();
-}
-
-// -----------------------------------------------------------------------------
-
-void GraphicManager::ClearCache()
-{
- mpCache->ClearDisplayCache();
-}
-
-// -----------------------------------------------------------------------------
-
void GraphicManager::ReleaseFromCache( const GraphicObject& /*rObj*/ )
{
// !!!