From d6f1c3dece1ab321230cbaf6b5a11318ba04b216 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 4 Mar 2018 17:05:19 +0000 Subject: weld SfxPasswordDialog Dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If8c9757986f4af7b7927717221860e65c8c7285e Reviewed-on: https://gerrit.libreoffice.org/50755 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- writerperfect/source/calc/MSWorksCalcImportFilter.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'writerperfect/source/calc') diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx index 2cef6152f4a8..f3a365dd1bd6 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx @@ -241,11 +241,11 @@ bool MSWorksCalcImportFilter::doImportDocument(librevenge::RVNGInputStream &rInp // try to ask for a password try { - ScopedVclPtrInstance< SfxPasswordDialog > aPasswdDlg(nullptr); - aPasswdDlg->SetMinLen(1); - if (!aPasswdDlg->Execute()) + SfxPasswordDialog aPasswdDlg(nullptr); + aPasswdDlg.SetMinLen(1); + if (!aPasswdDlg.run()) return false; - OUString aPasswd = aPasswdDlg->GetPassword(); + OUString aPasswd = aPasswdDlg.GetPassword(); aUtf8Passwd = OUStringToOString(aPasswd, RTL_TEXTENCODING_UTF8); } catch (...) -- cgit