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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Jul 29 14:52:58 UTC 2018


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

New commits:
commit 7b61374d5274d7413380f15795c8ce4c437d512f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jul 29 11:52:27 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jul 29 16:52:38 2018 +0200

    coverity#1438138 Uninitialized scalar field
    
    Change-Id: I484e00503cc3db5e5d394bc0432532fb1d0fc987
    Reviewed-on: https://gerrit.libreoffice.org/58272
    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 d07e0a124f9b..857895149bf5 100644
--- a/sc/source/filter/xml/xmltransformationi.cxx
+++ b/sc/source/filter/xml/xmltransformationi.cxx
@@ -336,6 +336,7 @@ uno::Reference<xml::sax::XFastContextHandler>
 ScXMLColumnAggregateContext::ScXMLColumnAggregateContext(
     ScXMLImport& rImport, const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList)
     : ScXMLImportContext(rImport)
+    , maType(sc::AGGREGATE_FUNCTION::SUM)
 {
     OUString aType = OUString();
 


More information about the Libreoffice-commits mailing list