summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorRobert Antoni Buj Gelonch <robert.buj@gmail.com>2015-02-25 23:24:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-26 14:49:19 +0000
commitc6d42c265f8a30b64f12275b1da643ccb6fa81cc (patch)
tree4dca8fb465008a1ac9e6a8ddf507c93a2c7ac85f /oox
parent11bed72b2a0c3f51dde4733875486a5c181902ef (diff)
oox/source/export/drawingml.cxx: -Werror=maybe-uninitialized
Change-Id: I44f1bbc9798312cea93c2cd7fadb0c3b7f26a9b7 Reviewed-on: https://gerrit.libreoffice.org/14640 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx2
1 files changed, 1 insertions, 1 deletions
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;