From a3a552c05c84c0b00d68af6370c271016368f26d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 16 Jul 2019 11:19:44 +0100 Subject: tdf#1448234 Uninitialized pointer field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I295cdc194d566c6801d4a7f9d6cbb31ee5e45df2 Reviewed-on: https://gerrit.libreoffice.org/75707 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/core/unocore/unofield.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw/source') diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index 8a05e1916438..007c114339ac 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -1138,7 +1138,8 @@ public: std::unique_ptr m_pProps; Impl(SwDoc *const pDoc, SwFormatField *const pFormat, SwServiceType nServiceId) - : m_pFormatField(pFormat) + : m_pFieldType(nullptr) + , m_pFormatField(pFormat) , m_EventListeners(m_Mutex) , m_pDoc(pDoc) , m_bIsDescriptor(pFormat == nullptr) -- cgit