summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-10-15 07:53:32 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-10-15 09:01:16 +0200
commitda77897d1923137574fd3a5a65921a5dbaf0aafc (patch)
tree6dda3a841b59456bf5af6a3db214b10e6eec6830 /sd
parentb11968e8bfcc1c4560427a9ca1d9e20a1075eb1b (diff)
nDrehWink -> nRotationAngle
Change-Id: I33ca88f38210140931b12a05e426d1373243156e
Diffstat (limited to 'sd')
-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 );