diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 6 |
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; } } |