diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-31 10:19:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-11 08:02:15 +0200 |
commit | ae25ee162c13277fa55778b228efa4959cbeac2a (patch) | |
tree | 13fc30275cf168b01a15ee419dd8583db10e61f1 /framework/source/accelerators | |
parent | fbd4588afd596b96f988350174ad55e66db6d830 (diff) |
fdo#46808, remove unnecessary XMultiServiceFactory fields
Change-Id: I140d82ed38afc56cbd06b0045eff0787fc99e2a6
Diffstat (limited to 'framework/source/accelerators')
-rw-r--r-- | framework/source/accelerators/presethandler.cxx | 2 | ||||
-rw-r--r-- | framework/source/accelerators/storageholder.cxx | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx index 80c013b2c55c..a6be0dd83478 100644 --- a/framework/source/accelerators/presethandler.cxx +++ b/framework/source/accelerators/presethandler.cxx @@ -102,7 +102,7 @@ PresetHandler::PresetHandler(const css::uno::Reference< css::lang::XMultiService : ThreadHelpBase (&Application::GetSolarMutex() ) , m_xSMGR (xSMGR ) , m_aSharedStorages ( ) - , m_lDocumentStorages(xSMGR ) + , m_lDocumentStorages() , m_aLocale (::comphelper::Locale::X_NOTRANSLATE()) { } diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx index 42bb80cf131f..1cd7a21d811f 100644 --- a/framework/source/accelerators/storageholder.cxx +++ b/framework/source/accelerators/storageholder.cxx @@ -39,8 +39,6 @@ #include <com/sun/star/io/XSeekable.hpp> -#include <comphelper/processfactory.hxx> - #define PATH_SEPERATOR_ASCII "/" #define PATH_SEPERATOR_UNICODE ((sal_Unicode)'/') @@ -53,14 +51,6 @@ namespace framework //----------------------------------------------- StorageHolder::StorageHolder() : ThreadHelpBase( ) - , m_xSMGR (::comphelper::getProcessServiceFactory()) -{ -} - -//----------------------------------------------- -StorageHolder::StorageHolder(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR) - : ThreadHelpBase( ) - , m_xSMGR (xSMGR) { } @@ -469,7 +459,6 @@ void StorageHolder::operator=(const StorageHolder& rCopy) // SAFE -> ---------------------------------- WriteGuard aWriteLock(m_aLock); - m_xSMGR = rCopy.m_xSMGR; // ??? m_xRoot = rCopy.m_xRoot; m_lStorages = rCopy.m_lStorages; |