summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2024-02-20 18:40:13 +0100
committerJulien Nabet <serval2412@yahoo.fr>2024-02-21 08:48:10 +0100
commitff516105c2df13cc71629b5a7156e16ec16b6988 (patch)
treee8e3cd61e1aa9c861bc81289480e94c183a4990f /oox/source
parent07521972bcd1cfbbd15b2f60ada84ffc69f8f997 (diff)
Fix potentially uninitialized local variable 'fY' used in Windows TB
Change-Id: I3849d2263de113f09fc3f4839c156c2d0458d718 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163667 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/drawingml/scene3dhelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/scene3dhelper.cxx b/oox/source/drawingml/scene3dhelper.cxx
index 3bb537bbd7d7..b72ca4a38f78 100644
--- a/oox/source/drawingml/scene3dhelper.cxx
+++ b/oox/source/drawingml/scene3dhelper.cxx
@@ -392,8 +392,8 @@ bool Scene3DHelper::setExtrusionProperties(const oox::drawingml::Shape3DProperti
// or if there is no such rotation but we have a perspective projection with true depth,
// or we have a parallel projection other than a 'front' type.
// In other cases the rendering as normal shape is better than any current extrusion.
- double fX;
- double fY;
+ double fX = 0.0;
+ double fY = 0.0;
Scene3DHelper::getAPIAnglesFrom3DProperties(p3DProperties, rnMSOShapeRotation, fX, fY, rRotZ);
sal_Int32 nDepthAmount = (*p3DProperties).mnExtrusionH.value_or(0);
bool bIsParallel = aPrstCameraValuesArray[mnPrstCameraIndex].mbIsParallel;