[Libreoffice-commits] core.git: oox/source
Robert Antoni Buj Gelonch
robert.buj at gmail.com
Thu Feb 26 06:49:47 PST 2015
oox/source/export/drawingml.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c6d42c265f8a30b64f12275b1da643ccb6fa81cc
Author: Robert Antoni Buj Gelonch <robert.buj at gmail.com>
Date: Wed Feb 25 23:24:10 2015 +0100
oox/source/export/drawingml.cxx: -Werror=maybe-uninitialized
Change-Id: I44f1bbc9798312cea93c2cd7fadb0c3b7f26a9b7
Reviewed-on: https://gerrit.libreoffice.org/14640
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
Tested-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 5737730..0c732fd 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;
More information about the Libreoffice-commits
mailing list