From c6d42c265f8a30b64f12275b1da643ccb6fa81cc Mon Sep 17 00:00:00 2001 From: Robert Antoni Buj Gelonch Date: Wed, 25 Feb 2015 23:24:10 +0100 Subject: [PATCH] oox/source/export/drawingml.cxx: -Werror=maybe-uninitialized Change-Id: I44f1bbc9798312cea93c2cd7fadb0c3b7f26a9b7 Reviewed-on: https://gerrit.libreoffice.org/14640 Reviewed-by: Stephan Bergmann Tested-by: Stephan Bergmann --- oox/source/export/drawingml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 573773030fac..0c732fdaefdd 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -2511,7 +2511,7 @@ void DrawingML::WriteShapeEffects( Reference< XPropertySet > rXPropSet ) Sequence< PropertyValue > aShadowGrabBag( 3 ); Sequence< PropertyValue > aShadowAttribsGrabBag( 2 ); - double dX, dY; + double dX = +0.0, dY = +0.0; rXPropSet->getPropertyValue( "ShadowXDistance" ) >>= dX; rXPropSet->getPropertyValue( "ShadowYDistance" ) >>= dY;