[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - vcl/source

Caolán McNamara caolanm at redhat.com
Tue Apr 1 08:55:35 PDT 2014


 vcl/source/gdi/metaact.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a37f474a2272c505778774cd1d92897d8a744863
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 1 16:52:21 2014 +0100

    valgrind: Conditional jump or move depends on uninitialised value
    
    (cherry picked from commit e3dad060929de9beeeed2978f1b1427a91152073)
    
    Conflicts:
    	vcl/source/gdi/metaact.cxx
    
    Change-Id: Ia0b22f7c394d1c2387d1cad7e3d99c79eaeca81a

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index d205723..e7aed0d 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -1066,7 +1066,7 @@ void MetaPolygonAction::Read( SvStream& rIStm, ImplMetaReadData* )
 
     if( aCompat.GetVersion() >= 2 )     // Version 2
     {
-        sal_uInt8 bHasPolyFlags;
+        sal_uInt8 bHasPolyFlags(0);
         rIStm >> bHasPolyFlags;
         if ( bHasPolyFlags )
             maPoly.Read( rIStm );


More information about the Libreoffice-commits mailing list