From 0c4d89d519318f931408be766457ea61c2b94753 Mon Sep 17 00:00:00 2001 From: Kai Sommerfeld Date: Thu, 22 Nov 2001 10:38:27 +0000 Subject: #95029# - Fixed index-out-of-range condition in ctor. --- ucbhelper/source/provider/simpleinteractionrequest.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ucbhelper') diff --git a/ucbhelper/source/provider/simpleinteractionrequest.cxx b/ucbhelper/source/provider/simpleinteractionrequest.cxx index 016c31ff48a0..3a338599fa83 100644 --- a/ucbhelper/source/provider/simpleinteractionrequest.cxx +++ b/ucbhelper/source/provider/simpleinteractionrequest.cxx @@ -2,9 +2,9 @@ * * $RCSfile: simpleinteractionrequest.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kso $ $Date: 2001-05-28 12:42:46 $ + * last change: $Author: kso $ $Date: 2001-11-22 11:38:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -113,6 +113,8 @@ SimpleInteractionRequest::SimpleInteractionRequest( uno::Sequence< uno::Reference< task::XInteractionContinuation > > aContinuations( nLength ); + nLength = 0; + if ( xAbort.is() ) aContinuations[ nLength++ ] = xAbort; -- cgit v1.2.3