summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-10-21 08:56:06 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-10-21 08:56:29 +0200
commit43327878920f424f8bac1114bee51c54609796c5 (patch)
tree7e1080d97a090ab70bb1054ad17c3601d60bbb0c /sd
parent42a05b4b2aa980cc8443813e6ab903034f9f4dbc (diff)
nShearWink -> nShearAngle
Change-Id: I122f16783db4025b9335ed82a12f051516d98d4c
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 ed3c1ad9af3c..d81be4c9d650 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -998,7 +998,7 @@ IMapObject* SdDrawDocument::GetHitIMapObject( SdrObject* pObj,
aRelPoint.X() = rRect.Right() + rRect.Left() - aRelPoint.X();
// Undo shearing
- if ( rGeo.nShearWink )
+ if ( rGeo.nShearAngle )
ShearPoint( aRelPoint, rRect.TopLeft(), -rGeo.nTan );
if ( pGrafObj->GetGrafPrefMapMode().GetMapUnit() == MAP_PIXEL )
diff --git a/sd/source/ui/docshell/sdclient.cxx b/sd/source/ui/docshell/sdclient.cxx
index 916641782333..6ea9d132495e 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().nRotationAngle || pObj->GetGeoStat().nShearWink)
+ if(pObj->GetGeoStat().nRotationAngle || pObj->GetGeoStat().nShearAngle)
{
pObj->SetLogicRect( aNewRectangle );