summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 10:03:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 10:34:50 +0100
commit7960ccb41db49a7883afa036b820a7b7ffcb4a89 (patch)
treed667c41a5dc20fed8ffda0404de4d04dab946e9f /comphelper
parent352bd98892c1cdf95756a49f38c84212eebffd7b (diff)
loplugin:constantparam in canvas..comphelper
Change-Id: Ia666cb46c409852a13789389c032f0ce4377c0d5 Reviewed-on: https://gerrit.libreoffice.org/50927 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/synchronousdispatch.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/misc/synchronousdispatch.cxx b/comphelper/source/misc/synchronousdispatch.cxx
index 7e650b8aa3e0..bec5b021310d 100644
--- a/comphelper/source/misc/synchronousdispatch.cxx
+++ b/comphelper/source/misc/synchronousdispatch.cxx
@@ -38,7 +38,6 @@ uno::Reference< lang::XComponent > SynchronousDispatch::dispatch(
const uno::Reference< uno::XInterface > &xStartPoint,
const OUString &sURL,
const OUString &sTarget,
- const sal_Int32 nFlags,
const uno::Sequence< beans::PropertyValue > &lArguments )
{
util::URL aURL;
@@ -50,7 +49,7 @@ uno::Reference< lang::XComponent > SynchronousDispatch::dispatch(
uno::Reference < frame::XDispatchProvider > xProvider( xStartPoint, uno::UNO_QUERY );
if ( xProvider.is() )
- xDispatcher = xProvider->queryDispatch( aURL, sTarget, nFlags );
+ xDispatcher = xProvider->queryDispatch( aURL, sTarget, 0 );
uno::Reference < lang::XComponent > aComponent;