diff options
Diffstat (limited to 'include/comphelper/dispatchcommand.hxx')
-rw-r--r-- | include/comphelper/dispatchcommand.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/comphelper/dispatchcommand.hxx b/include/comphelper/dispatchcommand.hxx index 475317742157..f0b67eda70eb 100644 --- a/include/comphelper/dispatchcommand.hxx +++ b/include/comphelper/dispatchcommand.hxx @@ -15,7 +15,7 @@ #include <com/sun/star/uno/Reference.hxx> namespace com { namespace sun { namespace star { namespace beans { struct PropertyValue; } } } } -namespace com { namespace sun { namespace star { namespace frame { class XDispatchResultListener; } } } } +namespace com { namespace sun { namespace star { namespace frame { class XDispatchResultListener; class XFrame; } } } } namespace com { namespace sun { namespace star { namespace uno { template <typename > class Sequence; } } } } namespace comphelper @@ -29,7 +29,12 @@ namespace comphelper */ COMPHELPER_DLLPUBLIC bool dispatchCommand(const OUString& rCommand, const css::uno::Sequence<css::beans::PropertyValue>& rArguments, - const css::uno::Reference<css::frame::XDispatchResultListener>& aListener = css::uno::Reference<css::frame::XDispatchResultListener>()); + const css::uno::Reference<css::frame::XDispatchResultListener>& rListener = css::uno::Reference<css::frame::XDispatchResultListener>()); + +COMPHELPER_DLLPUBLIC bool dispatchCommand(const OUString& rCommand, + const css::uno::Reference<css::frame::XFrame>& rFrame, + const css::uno::Sequence<css::beans::PropertyValue>& rArguments, + const css::uno::Reference<css::frame::XDispatchResultListener>& rListener = css::uno::Reference<css::frame::XDispatchResultListener>()); } |