diff options
author | Christian Lippka <cl@openoffice.org> | 2010-03-21 20:01:33 +0100 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2010-03-21 20:01:33 +0100 |
commit | b3ca4b3cbdce79eb3b387da6e84126c7a9f20eaa (patch) | |
tree | e57f602bd044ddd18100f27cefa7ec954f583de8 /framework/inc/uielement/newmenucontroller.hxx | |
parent | d8ba1a522388f4b14e3d9ce9d934f4166fe0ae4d (diff) |
Adding PopupMenuController to allow PopupMenuControllerBase dervivates to be used in toolbars
Diffstat (limited to 'framework/inc/uielement/newmenucontroller.hxx')
-rw-r--r-- | framework/inc/uielement/newmenucontroller.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/inc/uielement/newmenucontroller.hxx b/framework/inc/uielement/newmenucontroller.hxx index e937623b44b9..5e14b70f0044 100644 --- a/framework/inc/uielement/newmenucontroller.hxx +++ b/framework/inc/uielement/newmenucontroller.hxx @@ -32,7 +32,7 @@ // my own includes //_________________________________________________________________________________________________________________ -#include <helper/popupmenucontrollerbase.hxx> +#include <macros/xserviceinfo.hxx> #include <stdtypes.h> //_________________________________________________________________________________________________________________ @@ -53,6 +53,7 @@ //_________________________________________________________________________________________________________________ // includes of other projects //_________________________________________________________________________________________________________________ +#include <svtools/popupmenucontrollerbase.hxx> #include <toolkit/awt/vclxmenu.hxx> #include <cppuhelper/weak.hxx> #include <rtl/ustring.hxx> @@ -71,8 +72,10 @@ namespace framework ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDispatch; }; - class NewMenuController : public PopupMenuControllerBase + class NewMenuController : public svt::PopupMenuControllerBase { + using svt::PopupMenuControllerBase::disposing; + public: NewMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ); virtual ~NewMenuController(); |