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 /svx | |
parent | Fix fdo#42543: Don't paint a frame around the list of edit boxes. (diff) | |
download | core-6fca59d9c2d3ee3833da6a71d390a2a5b6b73299.tar.gz core-6fca59d9c2d3ee3833da6a71d390a2a5b6b73299.zip |
Simplify code by making getProcessComponentContext() implicit.
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdetc.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx index 68406f661d00..2672e82efff7 100644 --- a/svx/source/svdraw/svdetc.cxx +++ b/svx/source/svdraw/svdetc.cxx @@ -58,7 +58,6 @@ #include <svl/itempool.hxx> #include <unotools/localedatawrapper.hxx> #include <com/sun/star/lang/Locale.hpp> -#include <comphelper/processfactory.hxx> #include <i18npool/lang.h> #include <unotools/charclass.hxx> #include <unotools/syslocale.hxx> @@ -108,8 +107,7 @@ const LocaleDataWrapper* SdrGlobalData::GetLocaleData() OLEObjCache::OLEObjCache() : Container( 0 ) { - nSize = officecfg::Office::Common::Cache::DrawingEngine::OLE_Objects::get( - comphelper::getProcessComponentContext()); + nSize = officecfg::Office::Common::Cache::DrawingEngine::OLE_Objects::get(); pTimer = new AutoTimer(); Link aLink = LINK(this, OLEObjCache, UnloadCheckHdl); diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index 6eda9683d8a7..079162b63029 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -87,7 +87,6 @@ #include <editeng/outlobj.hxx> #include "editeng/forbiddencharacterstable.hxx" #include <svl/zforlist.hxx> -#include <comphelper/processfactory.hxx> #include <comphelper/servicehelper.hxx> #include <comphelper/storagehelper.hxx> @@ -179,7 +178,9 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe mbAddExtLeading = sal_False; mnHandoutPageCount = 0; - mnCharCompressType = officecfg::Office::Common::AsianLayout::CompressCharacterDistance::get(comphelper::getProcessComponentContext()); + mnCharCompressType = + officecfg::Office::Common::AsianLayout::CompressCharacterDistance:: + get(); #ifdef OSL_LITENDIAN nStreamNumberFormat=NUMBERFORMAT_INT_LITTLEENDIAN; |