diff options
Diffstat (limited to 'include/framework')
-rw-r--r-- | include/framework/actiontriggerhelper.hxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/framework/actiontriggerhelper.hxx b/include/framework/actiontriggerhelper.hxx index ceccea40433b..227535648950 100644 --- a/include/framework/actiontriggerhelper.hxx +++ b/include/framework/actiontriggerhelper.hxx @@ -17,16 +17,15 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_ACTIONTRIGGERHELPER_HXX -#define INCLUDED_FRAMEWORK_ACTIONTRIGGERHELPER_HXX +#pragma once #include <framework/fwkdllapi.h> #include <com/sun/star/uno/Reference.hxx> +namespace com::sun::star::awt { class XPopupMenu; } namespace com::sun::star::container { class XIndexContainer; } class Menu; - namespace framework { class FWK_DLLPUBLIC ActionTriggerHelper @@ -38,8 +37,8 @@ namespace framework // @param rActionTriggerContainer = must be an instance of service "com.sun.star.ui.ActionTriggerContainer" static void CreateMenuFromActionTriggerContainer( - Menu* pNewMenu, - const css::uno::Reference< css::container::XIndexContainer >& rActionTriggerContainer ); + const css::uno::Reference<css::awt::XPopupMenu>& rNewMenu, + const css::uno::Reference<css::container::XIndexContainer>& rActionTriggerContainer); // Creates a "css::ui::ActionTriggerContainer" with the structure of the menu // provided as a parameter. The implementation class stores the menu pointer @@ -64,6 +63,4 @@ namespace framework }; } -#endif // INCLUDED_FRAMEWORK_ACTIONTRIGGERHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |