diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-28 15:44:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-29 10:54:23 +0200 |
commit | e76b00978187486876cdc2adde14ef5043b2a9b0 (patch) | |
tree | 2a84ad1a4c7ac2a366b731a0e0bf8aea12f222f6 /desktop/source | |
parent | 31f12941635f52d34497b9af1361c0e81906762d (diff) |
sequence->vector in OInteractionRequest
Change-Id: I995cb96e514e1aaa05a96f29344ef51e4ca83c64
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/deployment/misc/dp_interact.cxx | 8 |
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) { |