[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - vcl/source
Caolán McNamara
caolanm at redhat.com
Tue Apr 1 08:56:56 PDT 2014
vcl/source/gdi/metaact.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d57b9a55a8fd77f24211a6196e0f7d360730ceb5
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
(cherry picked from commit a37f474a2272c505778774cd1d92897d8a744863)
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index ef702cc..2ab9faa 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -1063,7 +1063,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