summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-11 15:25:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-11 20:21:49 +0000
commit7c586c41329b57ff31dac1a452a5015b6f9c4432 (patch)
tree57f31bc8e682a1c50ad6251b426ee55eada5c1bd /desktop
parentd63170c4c0e0aac6a4ee2163ae052d0cb5bcb435 (diff)
coverity#704224 Logically dead code
Change-Id: Ic113260ff969f3bb670cb8ecaf5d6068dea5dbdd
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx
index 18465296783f..5d03d2258491 100644
--- a/desktop/source/migration/services/oo3extensionmigration.cxx
+++ b/desktop/source/migration/services/oo3extensionmigration.cxx
@@ -442,7 +442,6 @@ void TmpRepositoryCommandEnv::handle(
OSL_ASSERT( xRequest->getRequest().getValueTypeClass() == uno::TypeClass_EXCEPTION );
bool approve = true;
- bool abort = false;
// select:
uno::Sequence< Reference< task::XInteractionContinuation > > conts(
@@ -461,15 +460,6 @@ void TmpRepositoryCommandEnv::handle(
approve = false;
}
}
- else if (abort) {
- uno::Reference< task::XInteractionAbort > xInteractionAbort(
- pConts[ pos ], uno::UNO_QUERY );
- if (xInteractionAbort.is()) {
- xInteractionAbort->select();
- // don't query again for ongoing continuations:
- abort = false;
- }
- }
}
}