summaryrefslogtreecommitdiff
path: root/svtools/source/graphic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-12 11:50:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-12 11:51:12 +0100
commit5891d6e3141ab74876c282a1d3e7dfd7de4a924b (patch)
treefa8db8d6bd40b8f9c4ec586667bad9a8ad7dbc1f /svtools/source/graphic
parent55d2e9992a75a8434aff3983e7ef93b37ea91032 (diff)
update list, ditch newbies
Diffstat (limited to 'svtools/source/graphic')
-rw-r--r--svtools/source/graphic/grfcache.cxx11
-rw-r--r--svtools/source/graphic/grfcache.hxx1
2 files changed, 0 insertions, 12 deletions
diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx
index 82ef6e37a0d9..e4e996e9bdca 100644
--- a/svtools/source/graphic/grfcache.cxx
+++ b/svtools/source/graphic/grfcache.cxx
@@ -820,17 +820,6 @@ void GraphicCache::SetCacheTimeout( sal_uLong nTimeoutSeconds )
// -----------------------------------------------------------------------------
-void GraphicCache::ClearDisplayCache()
-{
- for( void* pObj = maDisplayCache.First(); pObj; pObj = maDisplayCache.Next() )
- delete (GraphicDisplayCacheEntry*) pObj;
-
- maDisplayCache.Clear();
- mnUsedDisplaySize = 0UL;
-}
-
-// -----------------------------------------------------------------------------
-
sal_Bool GraphicCache::IsDisplayCacheable( OutputDevice* pOut, const Point& rPt, const Size& rSz,
const GraphicObject& rObj, const GraphicAttr& rAttr ) const
{
diff --git a/svtools/source/graphic/grfcache.hxx b/svtools/source/graphic/grfcache.hxx
index cfa946f6bca9..62b4ee34f6c3 100644
--- a/svtools/source/graphic/grfcache.hxx
+++ b/svtools/source/graphic/grfcache.hxx
@@ -91,7 +91,6 @@ public:
void SetCacheTimeout( sal_uLong nTimeoutSeconds );
sal_uLong GetCacheTimeout() const { return mnReleaseTimeoutSeconds; }
- void ClearDisplayCache();
sal_Bool IsDisplayCacheable( OutputDevice* pOut, const Point& rPt, const Size& rSz,
const GraphicObject& rObj, const GraphicAttr& rAttr ) const;
sal_Bool IsInDisplayCache( OutputDevice* pOut, const Point& rPt, const Size& rSz,