[Libreoffice-commits] core.git: Branch 'feature/OperationSmiley' - svx/source

Armin Le Grand (CIB) Armin.Le.Grand at cib.de
Fri Mar 16 19:16:29 UTC 2018


 svx/source/customshapes/EnhancedCustomShape2d.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 75a376b9b1bd784ed16bba5b3a0842097dfae6e8
Author: Armin Le Grand <Armin.Le.Grand at cib.de (CIB)>
Date:   Fri Mar 16 18:17:54 2018 +0100

    OperationSmiley: Corrected shadowing of local variables
    
    Change-Id: I7826c7d80ca822cd8211cbf9444f21c3bcfaf6aa

diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 17fe098ff3fe..5ed79db32897 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -746,7 +746,7 @@ EnhancedCustomShape2d::EnhancedCustomShape2d(SdrObjCustomShape& rSdrObjCustomSha
     if ( pAny )
         *pAny >>= bFlipV;
 
-    nRotateAngle = static_cast<sal_Int32>(static_cast< SdrObjCustomShape& >(mrSdrObjCustomShape).GetObjectRotation() * 100.0);
+    nRotateAngle = static_cast<sal_Int32>(mrSdrObjCustomShape.GetObjectRotation() * 100.0);
 
     /*const sal_Int32* pDefData =*/ ApplyShapeAttributes( rGeometryItem );
     SetPathSize();


More information about the Libreoffice-commits mailing list