lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / ucbhelper / source / provider / authenticationfallback.cxx
blobeee4b04b39e7686cd98fa892d1ab98f8e7200f73
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include <ucbhelper/authenticationfallback.hxx>
11 #include <com/sun/star/ucb/AuthenticationFallbackRequest.hpp>
13 using namespace com::sun::star;
14 using namespace ucbhelper;
16 AuthenticationFallbackRequest::AuthenticationFallbackRequest(
17 const OUString & rInstructions,
18 const OUString & rURL )
21 ucb::AuthenticationFallbackRequest aRequest;
22 aRequest.instructions = rInstructions;
23 aRequest.url = rURL;
25 setRequest( uno::makeAny( aRequest ) );
26 m_xAuthFallback = new InteractionAuthFallback( this );
28 uno::Sequence<
29 uno::Reference< task::XInteractionContinuation > > aContinuations( 2 );
30 aContinuations[ 0 ] = new InteractionAbort( this );
31 aContinuations[ 1 ] = m_xAuthFallback.get( );
33 setContinuations( aContinuations );
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */