diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-27 15:35:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-28 08:10:24 +0200 |
commit | c380b432e32647ca9583b688c9b2f5688d7c2695 (patch) | |
tree | 1725d0924ffd16f2a01606617aab2edc1579c2b1 /framework/source | |
parent | 5835d8d2716448fb5549e7bae433704143d63e84 (diff) |
remove unnecessary parameter and field
Change-Id: I10311ea88f69566d9e30308c0cff193dd5ddcd11
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/helper/statusindicatorfactory.cxx | 3 | ||||
-rw-r--r-- | framework/source/helper/vclstatusindicator.cxx | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx index 091da148d0d3..18ed206297ad 100644 --- a/framework/source/helper/statusindicatorfactory.cxx +++ b/framework/source/helper/statusindicatorfactory.cxx @@ -449,7 +449,6 @@ void StatusIndicatorFactory::impl_createProgress() css::uno::Reference< css::frame::XFrame > xFrame (m_xFrame.get() , css::uno::UNO_QUERY); css::uno::Reference< css::awt::XWindow > xWindow(m_xPluggWindow.get(), css::uno::UNO_QUERY); - css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = m_xSMGR; aReadLock.lock(); // <- SAFE ---------------------------------- @@ -459,7 +458,7 @@ void StatusIndicatorFactory::impl_createProgress() if (xWindow.is()) { // use vcl based progress implementation in plugged mode - VCLStatusIndicator* pVCLProgress = new VCLStatusIndicator(xSMGR, xWindow); + VCLStatusIndicator* pVCLProgress = new VCLStatusIndicator(xWindow); xProgress = css::uno::Reference< css::task::XStatusIndicator >(static_cast< css::task::XStatusIndicator* >(pVCLProgress), css::uno::UNO_QUERY); } else if (xFrame.is()) diff --git a/framework/source/helper/vclstatusindicator.cxx b/framework/source/helper/vclstatusindicator.cxx index b8517a451488..75c12bdf1022 100644 --- a/framework/source/helper/vclstatusindicator.cxx +++ b/framework/source/helper/vclstatusindicator.cxx @@ -35,11 +35,9 @@ DEFINE_XINTERFACE_1(VCLStatusIndicator , DIRECT_INTERFACE(css::task::XStatusIndicator)) //----------------------------------------------- -VCLStatusIndicator::VCLStatusIndicator(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR , - const css::uno::Reference< css::awt::XWindow >& xParentWindow) +VCLStatusIndicator::VCLStatusIndicator(const css::uno::Reference< css::awt::XWindow >& xParentWindow) : ThreadHelpBase (&Application::GetSolarMutex()) , ::cppu::OWeakObject( ) - , m_xSMGR (xSMGR ) , m_xParentWindow (xParentWindow ) , m_pStatusBar (0 ) , m_nRange (0 ) |