From 0afa53428e4e56a303c07d53920b731e2f18cdf0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 30 Aug 2012 23:26:17 +0200 Subject: -Werror,-Wunused-private-field (Clang towards 3.2) Change-Id: I70840eba399c4b4f2b0f5330399dae6f1928c0bc --- desktop/source/deployment/gui/dp_gui_dialog2.cxx | 1 - desktop/source/deployment/gui/dp_gui_dialog2.hxx | 1 - desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 1 - desktop/source/deployment/gui/dp_gui_extlistbox.hxx | 1 - desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx | 8 ++------ 5 files changed, 2 insertions(+), 10 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 0450159f25ce..87c25cb7035b 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -722,7 +722,6 @@ ExtMgrDialog::ExtMgrDialog( Window *pParent, TheExtensionManager *pManager ) : m_bProgressChanged( false ), m_bStartProgress( false ), m_bStopProgress( false ), - m_bUpdateWarning( false ), m_bEnableWarning( false ), m_bDisableWarning( false ), m_bDeleteWarning( false ), diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.hxx b/desktop/source/deployment/gui/dp_gui_dialog2.hxx index a06b75e8b5e1..0aecee3d6a51 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.hxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.hxx @@ -130,7 +130,6 @@ class ExtMgrDialog : public ModelessDialog, bool m_bProgressChanged; bool m_bStartProgress; bool m_bStopProgress; - bool m_bUpdateWarning; bool m_bEnableWarning; bool m_bDisableWarning; bool m_bDeleteWarning; diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index 03bf3cb5329c..29511d247515 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -173,7 +173,6 @@ ExtensionBox_Impl::ExtensionBox_Impl( Dialog* pParent, TheExtensionManager *pMan m_bHasScrollBar( false ), m_bHasActive( false ), m_bNeedsRecalc( true ), - m_bHasNew( false ), m_bInCheckMode( false ), m_bAdjustActive( false ), m_bInDelete( false ), diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx index 9dbbb7d33789..0a6eca204c86 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx @@ -125,7 +125,6 @@ class ExtensionBox_Impl : public ::svt::IExtensionListBox bool m_bHasScrollBar; bool m_bHasActive; bool m_bNeedsRecalc; - bool m_bHasNew; bool m_bInCheckMode; bool m_bAdjustActive; bool m_bInDelete; diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx index 80236785d8ae..c525fdef148b 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx @@ -135,14 +135,12 @@ class UpdateCommandEnv { friend class UpdateInstallDialog::Thread; - UpdateInstallDialog & m_updateDialog; ::rtl::Reference m_installThread; cssu::Reference< cssu::XComponentContext > m_xContext; public: virtual ~UpdateCommandEnv(); UpdateCommandEnv( cssu::Reference< cssu::XComponentContext > const & xCtx, - UpdateInstallDialog & updateDialog, ::rtl::Referenceconst & thread); // XCommandEnvironment @@ -173,7 +171,7 @@ UpdateInstallDialog::Thread::Thread( m_dialog(dialog), m_xComponentContext(xCtx), m_aVecUpdateData(aVecUpdateData), - m_updateCmdEnv(new UpdateCommandEnv(xCtx, m_dialog, this)), + m_updateCmdEnv(new UpdateCommandEnv(xCtx, this)), m_stop(false) {} @@ -638,10 +636,8 @@ void UpdateInstallDialog::Thread::download(OUString const & sDownloadURL, Update // ------------------------------------------------------------------------------------------------------- UpdateCommandEnv::UpdateCommandEnv( cssu::Reference< cssu::XComponentContext > const & xCtx, - UpdateInstallDialog & updateDialog, ::rtl::Referenceconst & thread) - : m_updateDialog( updateDialog ), - m_installThread(thread), + : m_installThread(thread), m_xContext(xCtx) { } -- cgit