summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-02 14:12:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-02 17:04:20 +0200
commit7637054838aa71374dc02c32566dcd5d3ded2d0d (patch)
tree8f696dae590a768ad18c15714a6d41d6ebe27a6d /basctl
parent52829d9a7a57fa98a0d8f109612352605c54cc47 (diff)
weld SvxPasswordDialog
Change-Id: I2e51f1a0a96eb042a4460bb9591b63a169eb6de2 Reviewed-on: https://gerrit.libreoffice.org/52258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/moduldl2.cxx6
1 files changed, 3 insertions, 3 deletions
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 );