[Libreoffice-commits] core.git: Branch 'feature/vclref' - writerperfect/source

Michael Meeks michael.meeks at collabora.com
Wed Apr 1 02:45:49 PDT 2015


 writerperfect/source/writer/WordPerfectImportFilter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0d5f45dc54f729ac4afdc77fc6d205391aa32365
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Wed Apr 1 10:51:07 2015 +0100

    missing nullptr.
    
    Change-Id: Iea2124d0b485e051df1136f63ba4113b2dbc6f84

diff --git a/writerperfect/source/writer/WordPerfectImportFilter.cxx b/writerperfect/source/writer/WordPerfectImportFilter.cxx
index b60e592..8d484dd 100644
--- a/writerperfect/source/writer/WordPerfectImportFilter.cxx
+++ b/writerperfect/source/writer/WordPerfectImportFilter.cxx
@@ -303,7 +303,7 @@ throw (RuntimeException, std::exception)
         int unsuccessfulAttempts = 0;
         while (true)
         {
-            ScopedVclPtrInstance< SfxPasswordDialog > aPasswdDlg(0);
+            ScopedVclPtrInstance< SfxPasswordDialog > aPasswdDlg(nullptr);
             aPasswdDlg->SetMinLen(0);
             if (!aPasswdDlg->Execute())
                 return com::sun::star::ui::dialogs::ExecutableDialogResults::CANCEL;


More information about the Libreoffice-commits mailing list