From ac13f4db592f91783e644535968a8d3202c94640 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 May 2018 16:51:05 +0200 Subject: loplugin:unusedfields in dbaccess..drawinglayer Change-Id: I069badbce9b899d176fd3db91243139579dec6b1 Reviewed-on: https://gerrit.libreoffice.org/54456 Tested-by: Jenkins Reviewed-by: Noel Grandin --- desktop/source/deployment/gui/dp_gui_service.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop/source/deployment') diff --git a/desktop/source/deployment/gui/dp_gui_service.cxx b/desktop/source/deployment/gui/dp_gui_service.cxx index d91cdc3e9d5a..4393029537e8 100644 --- a/desktop/source/deployment/gui/dp_gui_service.cxx +++ b/desktop/source/deployment/gui/dp_gui_service.cxx @@ -138,9 +138,6 @@ class ServiceImpl { Reference const m_xComponentContext; boost::optional< Reference > /* const */ m_parent; - boost::optional /* const */ m_view; - /* if true then this service is running in an unopkg process and not in an office process */ - boost::optional /* const */ m_unopkg; boost::optional m_extensionURL; OUString m_initialTitle; bool m_bShowUpdateOnly; @@ -164,8 +161,11 @@ ServiceImpl::ServiceImpl( Sequence const& args, : m_xComponentContext(xComponentContext), m_bShowUpdateOnly( false ) { + /* if true then this service is running in an unopkg process and not in an office process */ + boost::optional unopkg; + boost::optional view; try { - comphelper::unwrapArgs( args, m_parent, m_view, m_unopkg ); + comphelper::unwrapArgs( args, m_parent, view, unopkg ); return; } catch ( const css::lang::IllegalArgumentException & ) { } -- cgit