[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Fri Jan 30 12:48:22 PST 2015


 sw/source/uibase/wrtsh/wrtsh2.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 51af2166d16ea5d47ee9b92ada2d95adff168bb2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 30 20:47:05 2015 +0000

    coverity#1267699 Uninitialized pointer field
    
    Change-Id: I9d830e56bd06208664296f3310cd61b97588d160

diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx
index 0bb3850..489aeba 100644
--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -177,6 +177,7 @@ class FieldDeletionModify : public SwModify
     public:
         FieldDeletionModify(AbstractFldInputDlg* pInputFieldDlg, SwField* pFld)
             : mpInputFieldDlg(pInputFieldDlg)
+            , mpFmtFld(NULL)
         {
             SwInputField *const pInputField(dynamic_cast<SwInputField*>(pFld));
             SwSetExpField *const pSetExpFld(dynamic_cast<SwSetExpField*>(pFld));


More information about the Libreoffice-commits mailing list