oox/source/drawingml/scene3dhelper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ff516105c2df13cc71629b5a7156e16ec16b6988
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Tue Feb 20 18:40:13 2024 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Wed Feb 21 08:48:10 2024 +0100

    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 <serval2...@yahoo.fr>
    Tested-by: Jenkins

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;

Reply via email to