summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-authentication.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-17 10:16:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-17 22:16:09 +0200
commitbf09cd79d3414d88ea6c1d348ed191a77e8c413e (patch)
tree3491c3190176c3eb46f82d4d3594e94894dbccde /uui/source/iahndl-authentication.cxx
parenta55d164b2e2a5df61078bcbd018f2d20712c3388 (diff)
AuthFallbackDlg
Change-Id: I69676dd437caefca63805e86f4707527183f622f Reviewed-on: https://gerrit.libreoffice.org/54487 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'uui/source/iahndl-authentication.cxx')
-rw-r--r--uui/source/iahndl-authentication.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx
index 673a6e441f52..ddaaf10e5e52 100644
--- a/uui/source/iahndl-authentication.cxx
+++ b/uui/source/iahndl-authentication.cxx
@@ -728,16 +728,16 @@ UUIInteractionHelper::handleAuthFallbackRequest( OUString & instructions,
OUString & url,
uno::Sequence< uno::Reference< task::XInteractionContinuation > > const & rContinuations )
{
- vcl::Window * pParent = getParentProperty( );
- VclPtrInstance<AuthFallbackDlg> dlg( pParent, instructions, url );
- int retCode = dlg->Execute( );
+ uno::Reference<awt::XWindow> xParent = getParentXWindow();
+ AuthFallbackDlg dlg(Application::GetFrameWeld(xParent), instructions, url);
+ int retCode = dlg.run();
uno::Reference< task::XInteractionAbort > xAbort;
uno::Reference< ucb::XInteractionAuthFallback > xAuthFallback;
getContinuations(rContinuations, &xAbort, &xAuthFallback);
if( retCode == RET_OK && xAuthFallback.is( ) )
{
- xAuthFallback->setCode( dlg->GetCode( ) );
+ xAuthFallback->setCode(dlg.GetCode());
xAuthFallback->select( );
}