summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/core/drawdoc2.cxx2
-rw-r--r--sd/source/ui/docshell/sdclient.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index b8d333709ff6..ed3c1ad9af3c 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -990,7 +990,7 @@ IMapObject* SdDrawDocument::GetHitIMapObject( SdrObject* pObj,
SdrGrafObjGeoData* pGeoData = (SdrGrafObjGeoData*) pGrafObj->GetGeoData();
// Undo rotation
- if ( rGeo.nDrehWink )
+ if ( rGeo.nRotationAngle )
RotatePoint( aRelPoint, rRect.TopLeft(), -rGeo.nSin, rGeo.nCos );
// Undo mirroring
diff --git a/sd/source/ui/docshell/sdclient.cxx b/sd/source/ui/docshell/sdclient.cxx
index 0976289fb672..916641782333 100644
--- a/sd/source/ui/docshell/sdclient.cxx
+++ b/sd/source/ui/docshell/sdclient.cxx
@@ -116,7 +116,7 @@ void Client::ObjectAreaChanged()
// #i118524# if sheared/rotated, center to non-rotated LogicRect
pObj->setSuppressSetVisAreaSize(true);
- if(pObj->GetGeoStat().nDrehWink || pObj->GetGeoStat().nShearWink)
+ if(pObj->GetGeoStat().nRotationAngle || pObj->GetGeoStat().nShearWink)
{
pObj->SetLogicRect( aNewRectangle );