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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 18 07:37:21 UTC 2019


 cui/source/dialogs/SpellDialog.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit de7ffaea58e5813c6e076f3612735c7c7cb70509
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 17 19:48:42 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 18 09:36:03 2019 +0200

    cid#1451643 Uninitialized pointer field
    
    Change-Id: I5bb3087e8ccd0de2e04df9596ddf860de29689fb
    Reviewed-on: https://gerrit.libreoffice.org/75799
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 74af6f7d2a57..52671b110586 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -1110,7 +1110,9 @@ bool SpellDialog::ApplyChangeAllList_Impl(SpellPortions& rSentence, bool &bHasRe
 }
 
 SentenceEditWindow_Impl::SentenceEditWindow_Impl()
-    : m_nErrorStart(0)
+    : m_pSpellDialog(nullptr)
+    , m_pToolbar(nullptr)
+    , m_nErrorStart(0)
     , m_nErrorEnd(0)
     , m_bIsUndoEditMode(false)
 {


More information about the Libreoffice-commits mailing list