diff options
-rw-r--r-- | framework/source/services/dispatchhelper.cxx | 3 |
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() ) ) { |