summaryrefslogtreecommitdiffstats
path: root/desktop/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-04 14:50:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-05 08:37:05 +0200
commit6e3a5631861ba8b8072fae6c3e5bb1a81627b612 (patch)
tree672a35f1782c60742b3b671fb6457758e6ca3cfd /desktop/source
parentrename some Kontext methods to Context (diff)
downloadcore-6e3a5631861ba8b8072fae6c3e5bb1a81627b612.tar.gz
core-6e3a5631861ba8b8072fae6c3e5bb1a81627b612.zip
loplugin:unusedfields various
Change-Id: Ia7bcf2471381aa6a2768ea795fe6572e38209100
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.cxx7
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.hxx1
2 files changed, 0 insertions, 8 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
index fe328d10f5b3..e18efb567dae 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
@@ -494,7 +494,6 @@ UpdateDialog::UpdateDialog(
m_thread(
new UpdateDialog::Thread(
context, *this, vExtensionList)),
- m_nLastID(1),
m_bModified( false )
// TODO: check!
// ,
@@ -725,8 +724,6 @@ void UpdateDialog::addEnabledUpdate( OUString const & name,
sal_uInt16 nIndex = sal::static_int_cast< sal_uInt16 >( m_enabledUpdates.size() );
UpdateDialog::Index *pEntry = new UpdateDialog::Index( ENABLED_UPDATE, nIndex, name );
- m_nLastID += 1;
-
m_enabledUpdates.push_back( data );
m_ListboxEntries.push_back( pEntry );
@@ -750,8 +747,6 @@ void UpdateDialog::addDisabledUpdate( UpdateDialog::DisabledUpdate & data )
sal_uInt16 nIndex = sal::static_int_cast< sal_uInt16 >( m_disabledUpdates.size() );
UpdateDialog::Index *pEntry = new UpdateDialog::Index( DISABLED_UPDATE, nIndex, data.name );
- m_nLastID += 1;
-
m_disabledUpdates.push_back( data );
m_ListboxEntries.push_back( pEntry );
@@ -765,8 +760,6 @@ void UpdateDialog::addSpecificError( UpdateDialog::SpecificError & data )
sal_uInt16 nIndex = sal::static_int_cast< sal_uInt16 >( m_specificErrors.size() );
UpdateDialog::Index *pEntry = new UpdateDialog::Index( SPECIFIC_ERROR, nIndex, data.name );
- m_nLastID += 1;
-
m_specificErrors.push_back( data );
m_ListboxEntries.push_back( pEntry );
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
index 96bb6450cfb3..0bae4cf9d303 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
@@ -200,7 +200,6 @@ private:
rtl::Reference< UpdateDialog::Thread > m_thread;
css::uno::Reference< css::deployment::XExtensionManager > m_xExtensionManager;
- sal_uInt16 m_nLastID;
bool m_bModified;
};