summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-07 14:23:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-07 17:17:48 +0200
commit0dced3431fd7ef664d55d73ac9b1ec76d28c51fd (patch)
tree74b58a22fadd049243bef2be57bdf655d7cf2f43 /sc
parent098f4a7fe6dfb52c5f5c4c7a289c785dd7374682 (diff)
coverity#1438379 Uninitialized scalar field
Change-Id: Ic8614c2c455a5a49592ee5f8ef0c91bf4d729e1e Reviewed-on: https://gerrit.libreoffice.org/58686 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-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 f48fa02ecdc0..c23de6f34b24 100644
--- a/sc/source/filter/xml/xmltransformationi.cxx
+++ b/sc/source/filter/xml/xmltransformationi.cxx
@@ -581,6 +581,7 @@ uno::Reference<xml::sax::XFastContextHandler>
ScXMLDateTimeContext::ScXMLDateTimeContext(
ScXMLImport& rImport, const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList)
: ScXMLImportContext(rImport)
+ , maType(sc::DATETIME_TRANSFORMATION_TYPE::DATE_STRING)
{
if (rAttrList.is())
{