From 389da66dfc96d06c407bff156c4ea21e940c5e06 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 May 2017 15:40:42 +0200 Subject: remove unused uno::Reference vars found by temporarily marking Reference as SAL_WARN_UNUSED. Change-Id: I18809b62654467f890016adcc92576980ced393b Reviewed-on: https://gerrit.libreoffice.org/37511 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/services/desktop.cxx | 1 - framework/source/services/frame.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'framework/source/services') diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index ea0d610361ae..ab5bb5b42c8c 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -1192,7 +1192,6 @@ void SAL_CALL Desktop::dispatchFinished( const css::frame::DispatchResultEvent& m_eLoadState = E_FAILED; if( aEvent.State == css::frame::DispatchResultState::SUCCESS ) { - css::uno::Reference < css::frame::XFrame > xFrame; if ( aEvent.Result >>= m_xLastFrame ) m_eLoadState = E_SUCCESSFUL; } diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 954eb9c38c29..a4e21ae052b8 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1224,7 +1224,6 @@ void SAL_CALL Frame::activate() css::uno::Reference< css::frame::XFrame > xActiveChild = m_aChildFrameContainer.getActive(); css::uno::Reference< css::frame::XFramesSupplier > xParent ( m_xParent, css::uno::UNO_QUERY ); css::uno::Reference< css::frame::XFrame > xThis ( static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY ); - css::uno::Reference< css::awt::XWindow > xComponentWindow( m_xComponentWindow, css::uno::UNO_QUERY ); EActiveState eState = m_eActiveState; aWriteLock.clear(); -- cgit