sw/source/writerfilter/ooxml/ShadowContext.hxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 5c243654727b26e3a29dfbc6daca477e04c48b71
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Thu Dec 12 13:43:18 2024 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Thu Dec 12 16:08:44 2024 +0100

    cid#1636677 Uninitialized scalar field
    
    and
    
    cid#1636678 Uninitialized scalar field
    cid#1636679 Uninitialized scalar variable
    cid#1636680 Uninitialized scalar variable
    cid#1636681 Uninitialized scalar variable
    cid#1636682 Uninitialized scalar variable
    cid#1636683 Uninitialized scalar field
    
    Change-Id: I5f9c2cb0fae83b674d1f9f140ce4e8c91ef589f8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178360
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/writerfilter/ooxml/ShadowContext.hxx 
b/sw/source/writerfilter/ooxml/ShadowContext.hxx
index 458e3133d971..fc25445f7c1c 100644
--- a/sw/source/writerfilter/ooxml/ShadowContext.hxx
+++ b/sw/source/writerfilter/ooxml/ShadowContext.hxx
@@ -61,6 +61,7 @@ public:
              CallDataType eType)
         : m_nLevel(nLevel)
         , m_eType(eType)
+        , m_nElement(0)
         , m_aAttributes(new sax_fastparser::FastAttributeList(rAttributes))
         , m_sNameSpace(rNameSpace)
         , m_sElement(rElement)
@@ -71,6 +72,7 @@ public:
     CallData(sal_uInt32 nLevel, const ::rtl::OUString& rNameSpace, const 
::rtl::OUString& rElement)
         : m_nLevel(nLevel)
         , m_eType(CallDataType::EndUnknown)
+        , m_nElement(0)
         , m_sNameSpace(rNameSpace)
         , m_sElement(rElement)
     {
@@ -99,6 +101,7 @@ public:
     CallData(sal_uInt32 nLevel, const ::rtl::OUString& rChars)
         : m_nLevel(nLevel)
         , m_eType(CallDataType::Char)
+        , m_nElement(0)
         , m_aChars(rChars)
     {
     }
@@ -154,3 +157,5 @@ private:
     bool m_bImportAsWriterFrame;
 };
 }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to