summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/dispatchcommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/dispatchcommand.cxx b/comphelper/source/misc/dispatchcommand.cxx
index dd43523fcc2f..5de05542dbb4 100644
--- a/comphelper/source/misc/dispatchcommand.cxx
+++ b/comphelper/source/misc/dispatchcommand.cxx
@@ -30,7 +30,7 @@ using namespace css;
namespace comphelper {
-bool dispatchCommand(const OUString& rCommand)
+bool dispatchCommand(const OUString& rCommand, const css::uno::Sequence<css::beans::PropertyValue>& rArguments)
{
// Target where we will execute the .uno: command
uno::Reference<uno::XComponentContext> xContext = ::comphelper::getProcessComponentContext();
@@ -54,7 +54,7 @@ bool dispatchCommand(const OUString& rCommand)
return false;
// And do the work...
- xDisp->dispatch(aCommandURL, uno::Sequence<beans::PropertyValue>());
+ xDisp->dispatch(aCommandURL, rArguments);
return true;
}