summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotxtr.cxx
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 /svx/source/svdraw/svdotxtr.cxx
parent42a05b4b2aa980cc8443813e6ab903034f9f4dbc (diff)
nShearWink -> nShearAngle
Change-Id: I122f16783db4025b9335ed82a12f051516d98d4c
Diffstat (limited to 'svx/source/svdraw/svdotxtr.cxx')
-rw-r--r--svx/source/svdraw/svdotxtr.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/svdraw/svdotxtr.cxx b/svx/source/svdraw/svdotxtr.cxx
index 64a48cae777c..120c3b70ce94 100644
--- a/svx/source/svdraw/svdotxtr.cxx
+++ b/svx/source/svdraw/svdotxtr.cxx
@@ -42,7 +42,7 @@ using namespace com::sun::star;
void SdrTextObj::NbcSetSnapRect(const Rectangle& rRect)
{
- if (aGeo.nRotationAngle!=0 || aGeo.nShearWink!=0) {
+ if (aGeo.nRotationAngle!=0 || aGeo.nShearAngle!=0) {
Rectangle aSR0(GetSnapRect());
long nWdt0=aSR0.Right()-aSR0.Left();
long nHgt0=aSR0.Bottom()-aSR0.Top();
@@ -107,7 +107,7 @@ long SdrTextObj::GetRotateAngle() const
long SdrTextObj::GetShearAngle(bool /*bVertical*/) const
{
- return aGeo.nShearWink;
+ return aGeo.nShearAngle;
}
void SdrTextObj::NbcMove(const Size& rSiz)
@@ -120,7 +120,7 @@ void SdrTextObj::NbcMove(const Size& rSiz)
void SdrTextObj::NbcResize(const Point& rRef, const boost::rational<sal_Int64>& xFact, const boost::rational<sal_Int64>& yFact)
{
- bool bNoShearMerk=aGeo.nShearWink==0;
+ bool bNoShearMerk=aGeo.nShearAngle==0;
bool bRota90Merk=bNoShearMerk && aGeo.nRotationAngle % 9000 ==0;
long nHDist=GetTextLeftDistance()+GetTextRightDistance();
long nVDist=GetTextUpperDistance()+GetTextLowerDistance();
@@ -142,7 +142,7 @@ void SdrTextObj::NbcResize(const Point& rRef, const boost::rational<sal_Int64>&
}
}
- if (aGeo.nRotationAngle==0 && aGeo.nShearWink==0) {
+ if (aGeo.nRotationAngle==0 && aGeo.nShearAngle==0) {
ResizeRect(aRect,rRef,xFact,yFact);
if (bYMirr) {
aRect.Justify();
@@ -187,8 +187,8 @@ void SdrTextObj::NbcResize(const Point& rRef, const boost::rational<sal_Int64>&
aGeo.nRotationAngle=a;
aGeo.RecalcSinCos();
}
- if (bNoShearMerk!=(aGeo.nShearWink==0)) { // correct a rounding error occurring with Shear
- aGeo.nShearWink=0;
+ if (bNoShearMerk!=(aGeo.nShearAngle==0)) { // correct a rounding error occurring with Shear
+ aGeo.nShearAngle=0;
aGeo.RecalcTan();
}
}
@@ -259,7 +259,7 @@ void SdrTextObj::NbcShear(const Point& rRef, long nWink, double tn, bool bVShear
void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2)
{
SetGlueReallyAbsolute(true);
- bool bNoShearMerk=aGeo.nShearWink==0;
+ bool bNoShearMerk=aGeo.nShearAngle==0;
bool bRota90Merk = false;
if (bNoShearMerk &&
(rRef1.X()==rRef2.X() || rRef1.Y()==rRef2.Y() ||
@@ -294,8 +294,8 @@ void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2)
aGeo.RecalcSinCos();
}
}
- if (bNoShearMerk!=(aGeo.nShearWink==0)) { // correct a rounding error occurring with Shear
- aGeo.nShearWink=0;
+ if (bNoShearMerk!=(aGeo.nShearAngle==0)) { // correct a rounding error occurring with Shear
+ aGeo.nShearAngle=0;
aGeo.RecalcTan();
}