summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Funk <juergen.funk_ml@cib.de>2016-06-09 12:01:12 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-06-09 13:28:42 +0000
commit6a5cb3dae1760283c2c9156de666964ea4794f0f (patch)
tree66e281e2af173100da1eafc65d01a01def5c6ba0
parentd368560882e8a4567f3328ce877b6e5242d18620 (diff)
tdf#99815 fixups after XNotifyingDispatch
- remove unused variable - check of given parameter over constructor Change-Id: If506ef9065c67da35f672466e1e49f82e2a5a678 Reviewed-on: https://gerrit.libreoffice.org/26093 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--framework/source/services/dispatchhelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/services/dispatchhelper.cxx b/framework/source/services/dispatchhelper.cxx
index 9cb6166ee241..73311778683b 100644
--- a/framework/source/services/dispatchhelper.cxx
+++ b/framework/source/services/dispatchhelper.cxx
@@ -80,11 +80,10 @@ css::uno::Any SAL_CALL DispatchHelper::executeDispatch(
const css::uno::Sequence< css::beans::PropertyValue >& lArguments )
throw(css::uno::RuntimeException, std::exception)
{
- css::uno::Reference< css::uno::XInterface > xTHIS(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
-
// check for valid parameters
if (
(!xDispatchProvider.is()) ||
+ (!m_xContext.is()) ||
(sURL.isEmpty() )
)
{