diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-31 17:25:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-31 17:26:57 +0100 |
commit | 6fca59d9c2d3ee3833da6a71d390a2a5b6b73299 (patch) | |
tree | 4a367bb7c33626eb753d1d3b7b6fd0743ee94f50 /svtools/source/graphic | |
parent | 03e17a141fbb4e1242de9d9979b5b699e6840454 (diff) |
Simplify code by making getProcessComponentContext() implicit.
Diffstat (limited to 'svtools/source/graphic')
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index 8098e77179e5..28fc1c9c7b99 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -30,7 +30,6 @@ #include <algorithm> -#include <comphelper/processfactory.hxx> #include <officecfg/Office/Common.hxx> #include <tools/vcompat.hxx> #include <unotools/ucbstreamhelper.hxx> @@ -179,13 +178,13 @@ void GraphicObject::ImplSetGraphicManager( const GraphicManager* pMgr, const rtl if( !mpGlobalMgr ) { mpGlobalMgr = new GraphicManager( - officecfg::Office::Common::Cache::GraphicManager::TotalCacheSize::get( - comphelper::getProcessComponentContext()), - officecfg::Office::Common::Cache::GraphicManager::ObjectCacheSize::get( - comphelper::getProcessComponentContext())); + (officecfg::Office::Common::Cache::GraphicManager:: + TotalCacheSize::get()), + (officecfg::Office::Common::Cache::GraphicManager:: + ObjectCacheSize::get())); mpGlobalMgr->SetCacheTimeout( - officecfg::Office::Common::Cache::GraphicManager::ObjectReleaseTime::get( - comphelper::getProcessComponentContext())); + officecfg::Office::Common::Cache::GraphicManager:: + ObjectReleaseTime::get()); } mpMgr = mpGlobalMgr; |