From 7637054838aa71374dc02c32566dcd5d3ded2d0d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 2 Apr 2018 14:12:53 +0100 Subject: weld SvxPasswordDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2e51f1a0a96eb042a4460bb9591b63a169eb6de2 Reviewed-on: https://gerrit.libreoffice.org/52258 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- basctl/source/basicide/moduldl2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index a1a11613ca19..2722a2dfd187 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -668,10 +668,10 @@ IMPL_LINK( LibPage, ButtonHdl, Button *, pButton, void ) bool const bProtected = xPasswd->isLibraryPasswordProtected( aLibName ); // change password dialog - VclPtrInstance< SvxPasswordDialog > pDlg( this, true, !bProtected ); - pDlg->SetCheckPasswordHdl( LINK( this, LibPage, CheckPasswordHdl ) ); + SvxPasswordDialog aDlg(GetFrameWeld(), true, !bProtected); + aDlg.SetCheckPasswordHdl(LINK(this, LibPage, CheckPasswordHdl)); - if ( pDlg->Execute() == RET_OK ) + if (aDlg.run() == RET_OK) { bool const bNewProtected = xPasswd->isLibraryPasswordProtected( aLibName ); -- cgit