summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-11 15:24:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-11 20:21:48 +0000
commitd63170c4c0e0aac6a4ee2163ae052d0cb5bcb435 (patch)
treefd0b9ff78371e2079e763158d53c22d57e8b78bd /desktop
parentc6ea43e7ff99b3c008f9c297310bcf3c1d8b9764 (diff)
coverity#704223 Logically dead code
Change-Id: I4d5380f7c60ff10d1e1c2560e1e1288eb79cd056
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
index 1a715b6e0a9a..05aa792acfca 100644
--- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
@@ -661,7 +661,6 @@ void UpdateCommandEnv::handle(
css::deployment::VersionException verExc;
bool approve = false;
- bool abort = false;
if (request >>= verExc)
{ //We must catch the version exception during the update,
@@ -672,7 +671,7 @@ void UpdateCommandEnv::handle(
approve = true;
}
- if (approve == false && abort == false)
+ if (approve == false)
{
//forward to interaction handler for main dialog.
handleInteractionRequest( m_xContext, xRequest );
@@ -696,15 +695,6 @@ void UpdateCommandEnv::handle(
approve = false;
}
}
- else if (abort) {
- cssu::Reference< css::task::XInteractionAbort > xInteractionAbort(
- pConts[ pos ], cssu::UNO_QUERY );
- if (xInteractionAbort.is()) {
- xInteractionAbort->select();
- // don't query again for ongoing continuations:
- abort = false;
- }
- }
}
}
}