office-gobmx/ucbhelper/source/provider/authenticationfallback.cxx
Mike Kaganski 51b75b2eae Prepare for removal of non-const operator[] from Sequence in ucbhelper
Change-Id: I06b04e3eed46aba8aac528b2c394d60e733533a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124405
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 21:28:26 +01:00

31 lines
1 KiB
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <ucbhelper/authenticationfallback.hxx>
#include <com/sun/star/ucb/AuthenticationFallbackRequest.hpp>
using namespace com::sun::star;
using namespace ucbhelper;
AuthenticationFallbackRequest::AuthenticationFallbackRequest(
const OUString & rInstructions,
const OUString & rURL )
{
ucb::AuthenticationFallbackRequest aRequest;
aRequest.instructions = rInstructions;
aRequest.url = rURL;
setRequest( uno::makeAny( aRequest ) );
m_xAuthFallback = new InteractionAuthFallback( this );
setContinuations({ new InteractionAbort(this), m_xAuthFallback });
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */