summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-28 15:44:38 +0200
committerNoel Grandin <noel@peralex.com>2016-01-29 10:54:23 +0200
commite76b00978187486876cdc2adde14ef5043b2a9b0 (patch)
tree2a84ad1a4c7ac2a366b731a0e0bf8aea12f222f6 /desktop
parent31f12941635f52d34497b9af1361c0e81906762d (diff)
sequence->vector in OInteractionRequest
Change-Id: I995cb96e514e1aaa05a96f29344ef51e4ca83c64
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/misc/dp_interact.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/desktop/source/deployment/misc/dp_interact.cxx b/desktop/source/deployment/misc/dp_interact.cxx
index 254adedae0b2..f6c35e80468e 100644
--- a/desktop/source/deployment/misc/dp_interact.cxx
+++ b/desktop/source/deployment/misc/dp_interact.cxx
@@ -108,11 +108,9 @@ bool interactContinuation( Any const & request,
if (xInteractionHandler.is()) {
bool cont = false;
bool abort = false;
- Sequence< Reference<task::XInteractionContinuation> > conts( 2 );
- conts[ 0 ] = new InteractionContinuationImpl(
- continuation, &cont );
- conts[ 1 ] = new InteractionContinuationImpl(
- cppu::UnoType<task::XInteractionAbort>::get(), &abort );
+ std::vector< Reference<task::XInteractionContinuation> > conts {
+ new InteractionContinuationImpl(continuation, &cont ),
+ new InteractionContinuationImpl( cppu::UnoType<task::XInteractionAbort>::get(), &abort ) };
xInteractionHandler->handle(
new ::comphelper::OInteractionRequest( request, conts ) );
if (cont || abort) {