From 55b379495007d3d694fb3533baa0d607c710d582 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 14 Dec 2012 09:44:22 +0000 Subject: callcatcher: update unused code list Change-Id: Ie975cd2df17461de1bb94a23d4daf081f6588fe7 --- framework/source/fwe/xml/menuconfiguration.cxx | 2 +- framework/source/fwe/xml/menudocumenthandler.cxx | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'framework/source') diff --git a/framework/source/fwe/xml/menuconfiguration.cxx b/framework/source/fwe/xml/menuconfiguration.cxx index 0cd54b6d055f..61fd1302a15f 100644 --- a/framework/source/fwe/xml/menuconfiguration.cxx +++ b/framework/source/fwe/xml/menuconfiguration.cxx @@ -72,7 +72,7 @@ throw ( WrappedTargetException ) // create namespace filter and set menudocument handler inside to support xml namespaces - Reference< XDocumentHandler > xDocHandler( new OReadMenuDocumentHandler( m_rxServiceManager, xItemContainer )); + Reference< XDocumentHandler > xDocHandler( new OReadMenuDocumentHandler( xItemContainer )); Reference< XDocumentHandler > xFilter( new SaxNamespaceFilter( xDocHandler )); diff --git a/framework/source/fwe/xml/menudocumenthandler.cxx b/framework/source/fwe/xml/menudocumenthandler.cxx index 3f253b5b4a61..9e498de9e6cb 100644 --- a/framework/source/fwe/xml/menudocumenthandler.cxx +++ b/framework/source/fwe/xml/menudocumenthandler.cxx @@ -228,21 +228,14 @@ void ReadMenuDocumentHandlerBase::initPropertyCommon( // ----------------------------------------------------------------------------- OReadMenuDocumentHandler::OReadMenuDocumentHandler( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, const Reference< XIndexContainer >& rMenuBarContainer ) : m_nElementDepth( 0 ), m_bMenuBarMode( sal_False ), m_xMenuBarContainer( rMenuBarContainer ), - m_xContainerFactory( rMenuBarContainer, UNO_QUERY ), - mxServiceFactory(xServiceFactory) + m_xContainerFactory( rMenuBarContainer, UNO_QUERY ) { } -const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& OReadMenuDocumentHandler::getServiceFactory() -{ - return mxServiceFactory; -} - OReadMenuDocumentHandler::~OReadMenuDocumentHandler() { } -- cgit v1.2.3