sw/source/core/unocore/unofield.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit a3a552c05c84c0b00d68af6370c271016368f26d Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Jul 16 11:19:44 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Jul 16 17:56:47 2019 +0200 tdf#1448234 Uninitialized pointer field Change-Id: I295cdc194d566c6801d4a7f9d6cbb31ee5e45df2 Reviewed-on: https://gerrit.libreoffice.org/75707 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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<SwFieldProperties_Impl> 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits