From 7c586c41329b57ff31dac1a452a5015b6f9c4432 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 11 Feb 2014 15:25:19 +0000 Subject: coverity#704224 Logically dead code Change-Id: Ic113260ff969f3bb670cb8ecaf5d6068dea5dbdd --- desktop/source/migration/services/oo3extensionmigration.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'desktop') 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; - } - } } } -- cgit