diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-15 13:52:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-03-15 16:39:31 +0100 |
commit | fc42d1159f390a99d886ea0f82d268613ac22e2f (patch) | |
tree | baa0eae441a2d2a2866fcd9bc53869469faa95c9 /xmloff | |
parent | 17da4c1e998bd626410d498d39c7a8198d0d4c7a (diff) |
ofz: Use-of-uninitialized-value
Change-Id: I742132da8fab7168495c7756aaffb1742a1bd973
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131613
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/GradientStyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/GradientStyle.cxx b/xmloff/source/style/GradientStyle.cxx index 7626db9db8ce..f3fbfb01ec24 100644 --- a/xmloff/source/style/GradientStyle.cxx +++ b/xmloff/source/style/GradientStyle.cxx @@ -78,7 +78,7 @@ void XMLGradientStyleImport::importXML( for (auto &aIter : sax_fastparser::castToFastAttributeList( xAttrList )) { - sal_Int32 nTmpValue; + sal_Int32 nTmpValue(0); switch( aIter.getToken() ) { |