xmloff/source/style/GradientStyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fc42d1159f390a99d886ea0f82d268613ac22e2f
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Mar 15 13:52:30 2022 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Tue Mar 15 16:39:31 2022 +0100

    ofz: Use-of-uninitialized-value
    
    Change-Id: I742132da8fab7168495c7756aaffb1742a1bd973
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131613
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

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() )
         {

Reply via email to