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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Jul 29 13:26:06 UTC 2018


 sc/source/filter/xml/xmltransformationi.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 06e1b26e2ae3f761f2643057c3d085335bb70b82
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jul 29 11:50:45 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jul 29 15:25:44 2018 +0200

    coverity#1438137 Uninitialized scalar field
    
    Change-Id: Iea93be89e5b62fb34a71ebbf4446fe8af9db516c
    Reviewed-on: https://gerrit.libreoffice.org/58271
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/filter/xml/xmltransformationi.cxx b/sc/source/filter/xml/xmltransformationi.cxx
index 287485f69e91..4eaa77bf7ff7 100644
--- a/sc/source/filter/xml/xmltransformationi.cxx
+++ b/sc/source/filter/xml/xmltransformationi.cxx
@@ -412,6 +412,8 @@ uno::Reference<xml::sax::XFastContextHandler>
 ScXMLColumnNumberContext::ScXMLColumnNumberContext(
     ScXMLImport& rImport, const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList)
     : ScXMLImportContext(rImport)
+    , maType(sc::NUMBER_TRANSFORM_TYPE::ROUND)
+    , maPrecision(0)
 {
     if (rAttrList.is())
     {


More information about the Libreoffice-commits mailing list