summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-29 11:52:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-29 16:52:38 +0200
commit7b61374d5274d7413380f15795c8ce4c437d512f (patch)
treeca7db1d56fe6cfcd7b27f49bf0142e04d18466c1
parent726038bf16c3657b45395570646a173ae310572f (diff)
coverity#1438138 Uninitialized scalar field
Change-Id: I484e00503cc3db5e5d394bc0432532fb1d0fc987 Reviewed-on: https://gerrit.libreoffice.org/58272 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/filter/xml/xmltransformationi.cxx1
1 files changed, 1 insertions, 0 deletions
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();