Kaydet (Commit) 6a5cb3da authored tarafından Juergen Funk's avatar Juergen Funk Kaydeden (comit) Thorsten Behrens

tdf#99815 fixups after XNotifyingDispatch

- remove unused variable
- check of given parameter over constructor

Change-Id: If506ef9065c67da35f672466e1e49f82e2a5a678
Reviewed-on: https://gerrit.libreoffice.org/26093Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst d3685608
......@@ -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() )
)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment