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

Caolán McNamara caolanm at redhat.com
Wed Dec 20 13:55:21 UTC 2017


 oox/source/export/drawingml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bb911509930054e50bc48292cd5a087762707953
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 20 13:27:37 2017 +0000

    coverity#1426744 Uninitialized scalar variable
    
    Change-Id: I2043f4d3c393d39eb9d3936ba5dbcbf27c54ce48

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 9e161bb16615..17fc99acbc7f 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -2414,7 +2414,7 @@ void DrawingML::WriteText( const Reference< XInterface >& rXIface, const OUStrin
     }
 
     bool bOverridingCharHeight = false;
-    sal_Int32 nCharHeight;
+    sal_Int32 nCharHeight = -1;
 
     while( enumeration->hasMoreElements() )
     {


More information about the Libreoffice-commits mailing list