summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 13:37:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 18:29:29 +0200
commit3fe3bd8a90d6dc53b05b9236185af3916fc5375d (patch)
tree3b6bb34f0b8c54192bfc66377011baa911af5c05 /desktop
parent3f42a9cf0c35d483206dfbb8ebf8786ada44bc60 (diff)
loplugin:unusedfields
Change-Id: I321c8eefdc43979ef5fd3774c7094ac0dbcac417 Reviewed-on: https://gerrit.libreoffice.org/70657 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
index 22a4145e7480..a3caf7bb431c 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
@@ -158,7 +158,6 @@ struct UpdateDialog::SpecificError {
struct UpdateDialog::IgnoredUpdate {
OUString sExtensionID;
OUString sVersion;
- bool bRemoved;
IgnoredUpdate( const OUString &rExtensionID, const OUString &rVersion );
};
@@ -166,8 +165,7 @@ struct UpdateDialog::IgnoredUpdate {
UpdateDialog::IgnoredUpdate::IgnoredUpdate( const OUString &rExtensionID, const OUString &rVersion ):
sExtensionID( rExtensionID ),
- sVersion( rVersion ),
- bRemoved( false )
+ sVersion( rVersion )
{}
@@ -889,8 +887,6 @@ bool UpdateDialog::isIgnoredUpdate( UpdateDialog::Index * index )
bIsIgnored = true;
index->m_bIgnored = true;
}
- else // when we find another update of an ignored version, we will remove the old one to keep the ignored list small
- ignoredUpdate->bRemoved = true;
break;
}
}