summaryrefslogtreecommitdiff
path: root/framework/source/fwe/xml/menudocumenthandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwe/xml/menudocumenthandler.cxx')
-rw-r--r--framework/source/fwe/xml/menudocumenthandler.cxx9
1 files changed, 1 insertions, 8 deletions
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()
{
}