diff options
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/corereflection/base.hxx | 1 | ||||
-rw-r--r-- | stoc/source/corereflection/crefl.cxx | 1 | ||||
-rw-r--r-- | stoc/source/servicemanager/servicemanager.cxx | 1 | ||||
-rw-r--r-- | stoc/source/uriproc/ExternalUriReferenceTranslator.cxx | 10 |
4 files changed, 3 insertions, 10 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx index fc081a69f576..f28a600ac75a 100644 --- a/stoc/source/corereflection/base.hxx +++ b/stoc/source/corereflection/base.hxx @@ -82,7 +82,6 @@ class IdlReflectionServiceImpl , public css::lang::XServiceInfo { ::osl::Mutex _aComponentMutex; - css::uno::Reference< css::lang::XMultiServiceFactory > _xMgr; css::uno::Reference< css::container::XHierarchicalNameAccess > _xTDMgr; // caching diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx index 09461f4107c7..3304233caf3f 100644 --- a/stoc/source/corereflection/crefl.cxx +++ b/stoc/source/corereflection/crefl.cxx @@ -60,7 +60,6 @@ static OUString core_getImplementationName() IdlReflectionServiceImpl::IdlReflectionServiceImpl( const Reference< XComponentContext > & xContext ) : OComponentHelper( _aComponentMutex ) - , _xMgr( xContext->getServiceManager(), UNO_QUERY ) , _aElements( CACHE_SIZE ) { xContext->getValueByName( diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx index 1fdf14f19a31..b453c95edbb0 100644 --- a/stoc/source/servicemanager/servicemanager.cxx +++ b/stoc/source/servicemanager/servicemanager.cxx @@ -262,7 +262,6 @@ private: Mutex aMutex; HashSet_Ref aImplementationMap; HashSet_Ref::iterator aIt; - Reference<XInterface > xNext; }; ImplementationEnumeration_Impl::~ImplementationEnumeration_Impl() {} diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx index 3dde5b31539c..7c81651d87d1 100644 --- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx +++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx @@ -46,9 +46,7 @@ class Translator: private boost::noncopyable { public: - explicit Translator( - css::uno::Reference< css::uno::XComponentContext > const & context): - m_context(context) {} + Translator() {} virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; @@ -69,8 +67,6 @@ public: private: virtual ~Translator() {} - - css::uno::Reference< css::uno::XComponentContext > m_context; }; OUString Translator::getImplementationName() @@ -190,10 +186,10 @@ OUString Translator::translateToExternal( } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL -com_sun_star_comp_uri_ExternalUriReferenceTranslator_get_implementation(css::uno::XComponentContext* rxContext, +com_sun_star_comp_uri_ExternalUriReferenceTranslator_get_implementation(css::uno::XComponentContext* , css::uno::Sequence<css::uno::Any> const &) { - return ::cppu::acquire(new Translator(rxContext)); + return ::cppu::acquire(new Translator); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |