From facc94bb0aef58353d54e14f948790643ccbec32 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 30 Jan 2020 14:36:57 +0200 Subject: loplugin:unusedfields Change-Id: Ifb9c91b3e8d6c2dd3a639a239fa41e7d5c7a4ee6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87735 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/dispatch/oxt_handler.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'framework/source/dispatch') diff --git a/framework/source/dispatch/oxt_handler.cxx b/framework/source/dispatch/oxt_handler.cxx index 8eed74832b3c..8bc67abf9105 100644 --- a/framework/source/dispatch/oxt_handler.cxx +++ b/framework/source/dispatch/oxt_handler.cxx @@ -59,13 +59,6 @@ Oxt_Handler::Oxt_Handler( const css::uno::Reference< css::lang::XMultiServiceFac *//*-*************************************************************************************************************/ Oxt_Handler::~Oxt_Handler() { - if ( m_xListener.is() ) - { - css::frame::DispatchResultEvent aEvent; - aEvent.State = css::frame::DispatchResultState::FAILURE; - m_xListener->dispatchFinished( aEvent ); - m_xListener.clear(); - } } /*-************************************************************************************************************ -- cgit