diff options
author | Noel Grandin <noel@peralex.com> | 2012-12-11 16:02:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2012-12-21 09:12:06 +0200 |
commit | cd0b83b531e7cfa424299f1e263e08ff77e1a7a5 (patch) | |
tree | 9dd5e6e6257318b31d7a7ad09b228fa29162377e /framework/inc | |
parent | 5f841460593a3bf9741dfc9c32c617a7b8f73587 (diff) |
fdo#46808, Use service constructor for frame::UICommandDescription
Change-Id: I8950afd1e49fda9e3336a79024e603262d717dad
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/helper/mischelper.hxx | 2 | ||||
-rw-r--r-- | framework/inc/services.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/framework/inc/helper/mischelper.hxx b/framework/inc/helper/mischelper.hxx index f0c3a90d0281..b559de74707e 100644 --- a/framework/inc/helper/mischelper.hxx +++ b/framework/inc/helper/mischelper.hxx @@ -101,7 +101,7 @@ public: }; FWI_DLLPUBLIC ::rtl::OUString RetrieveLabelFromCommand( const ::rtl::OUString& aCmdURL - ,const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _xServiceFactory + ,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _xContext ,::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _xUICommandLabels ,const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame ,::rtl::OUString& _rModuleIdentifier diff --git a/framework/inc/services.h b/framework/inc/services.h index e815122c3138..b56877cc758e 100644 --- a/framework/inc/services.h +++ b/framework/inc/services.h @@ -56,7 +56,6 @@ namespace framework{ #define SERVICENAME_LAYOUTMANAGER DECLARE_ASCII("com.sun.star.frame.LayoutManager" ) #define SERVICENAME_POPUPMENUCONTROLLERFACTORY DECLARE_ASCII("com.sun.star.frame.PopupMenuControllerFactory" ) #define SERVICENAME_POPUPMENUCONTROLLER DECLARE_ASCII("com.sun.star.frame.PopupMenuController" ) -#define SERVICENAME_UICOMMANDDESCRIPTION DECLARE_ASCII("com.sun.star.frame.UICommandDescription" ) #define SERVICENAME_UICONFIGURATIONMANAGER DECLARE_ASCII("com.sun.star.ui.UIConfigurationManager" ) #define SERVICENAME_MODULEUICONFIGURATIONMANAGER DECLARE_ASCII("com.sun.star.ui.ModuleUIConfigurationManager" ) #define SERVICENAME_MENUBARFACTORY DECLARE_ASCII("com.sun.star.ui.UIElementFactory" ) |