diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-16 16:51:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-17 08:40:55 +0200 |
commit | ac13f4db592f91783e644535968a8d3202c94640 (patch) | |
tree | f5f32b3e5d28a69a7778b3d0278f44e579f79b7a /desktop | |
parent | 82afd77a00c036f106a3aa5fb3402c92e10e2aa4 (diff) |
loplugin:unusedfields in dbaccess..drawinglayer
Change-Id: I069badbce9b899d176fd3db91243139579dec6b1
Reviewed-on: https://gerrit.libreoffice.org/54456
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_service.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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<XComponentContext> const m_xComponentContext; boost::optional< Reference<awt::XWindow> > /* const */ m_parent; - boost::optional<OUString> /* const */ m_view; - /* if true then this service is running in an unopkg process and not in an office process */ - boost::optional<sal_Bool> /* const */ m_unopkg; boost::optional<OUString> m_extensionURL; OUString m_initialTitle; bool m_bShowUpdateOnly; @@ -164,8 +161,11 @@ ServiceImpl::ServiceImpl( Sequence<Any> 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<sal_Bool> unopkg; + boost::optional<OUString> view; try { - comphelper::unwrapArgs( args, m_parent, m_view, m_unopkg ); + comphelper::unwrapArgs( args, m_parent, view, unopkg ); return; } catch ( const css::lang::IllegalArgumentException & ) { } |