summaryrefslogtreecommitdiff
path: root/framework/source/fwe/xml
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-14 09:44:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-14 11:37:22 +0000
commit55b379495007d3d694fb3533baa0d607c710d582 (patch)
treeec72ee1650a487eeb0ba852c308f63ea85a00a7f /framework/source/fwe/xml
parentea26d97b2189d5b92bfec9c61253b2c740c38170 (diff)
callcatcher: update unused code list
Change-Id: Ie975cd2df17461de1bb94a23d4daf081f6588fe7
Diffstat (limited to 'framework/source/fwe/xml')
-rw-r--r--framework/source/fwe/xml/menuconfiguration.cxx2
-rw-r--r--framework/source/fwe/xml/menudocumenthandler.cxx9
2 files changed, 2 insertions, 9 deletions
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()
{
}