Kaydet (Commit) 623f504c authored tarafından Johnny_M's avatar Johnny_M Kaydeden (comit) Eike Rathke

Translate German variable names

Change-Id: I141c003bead8eda9bdfa8a7fd286f76390cf77ac
Reviewed-on: https://gerrit.libreoffice.org/62843
Tested-by: Jenkins
Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
üst 9a58c3ea
...@@ -102,8 +102,8 @@ void SdrTextObj::NbcMove(const Size& rSiz) ...@@ -102,8 +102,8 @@ void SdrTextObj::NbcMove(const Size& rSiz)
void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact)
{ {
bool bNoShearMerk=aGeo.nShearAngle==0; bool bNotSheared=aGeo.nShearAngle==0;
bool bRota90Merk=bNoShearMerk && aGeo.nRotationAngle % 9000 ==0; bool bRotate90=bNotSheared && aGeo.nRotationAngle % 9000 ==0;
bool bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); bool bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0);
bool bYMirr=(yFact.GetNumerator()<0) != (yFact.GetDenominator()<0); bool bYMirr=(yFact.GetNumerator()<0) != (yFact.GetDenominator()<0);
if (bXMirr || bYMirr) { if (bXMirr || bYMirr) {
...@@ -153,7 +153,7 @@ void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fract ...@@ -153,7 +153,7 @@ void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fract
Poly2Rect(aPol, maRect, aGeo); Poly2Rect(aPol, maRect, aGeo);
} }
if (bRota90Merk) { if (bRotate90) {
bool bRota90=aGeo.nRotationAngle % 9000 ==0; bool bRota90=aGeo.nRotationAngle % 9000 ==0;
if (!bRota90) { // there's seems to be a rounding error occurring: correct it if (!bRota90) { // there's seems to be a rounding error occurring: correct it
long a=NormAngle36000(aGeo.nRotationAngle); long a=NormAngle36000(aGeo.nRotationAngle);
...@@ -165,7 +165,7 @@ void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fract ...@@ -165,7 +165,7 @@ void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fract
aGeo.nRotationAngle=a; aGeo.nRotationAngle=a;
aGeo.RecalcSinCos(); aGeo.RecalcSinCos();
} }
if (bNoShearMerk!=(aGeo.nShearAngle==0)) { // correct a rounding error occurring with Shear if (bNotSheared!=(aGeo.nShearAngle==0)) { // correct a rounding error occurring with Shear
aGeo.nShearAngle=0; aGeo.nShearAngle=0;
aGeo.RecalcTan(); aGeo.RecalcTan();
} }
...@@ -233,12 +233,12 @@ void SdrTextObj::NbcShear(const Point& rRef, long /*nAngle*/, double tn, bool bV ...@@ -233,12 +233,12 @@ void SdrTextObj::NbcShear(const Point& rRef, long /*nAngle*/, double tn, bool bV
void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2) void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2)
{ {
SetGlueReallyAbsolute(true); SetGlueReallyAbsolute(true);
bool bNoShearMerk=aGeo.nShearAngle==0; bool bNotSheared=aGeo.nShearAngle==0;
bool bRota90Merk = false; bool bRotate90 = false;
if (bNoShearMerk && if (bNotSheared &&
(rRef1.X()==rRef2.X() || rRef1.Y()==rRef2.Y() || (rRef1.X()==rRef2.X() || rRef1.Y()==rRef2.Y() ||
std::abs(rRef1.X()-rRef2.X())==std::abs(rRef1.Y()-rRef2.Y()))) { std::abs(rRef1.X()-rRef2.X())==std::abs(rRef1.Y()-rRef2.Y()))) {
bRota90Merk=aGeo.nRotationAngle % 9000 ==0; bRotate90=aGeo.nRotationAngle % 9000 ==0;
} }
tools::Polygon aPol(Rect2Poly(maRect,aGeo)); tools::Polygon aPol(Rect2Poly(maRect,aGeo));
sal_uInt16 i; sal_uInt16 i;
...@@ -255,9 +255,9 @@ void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2) ...@@ -255,9 +255,9 @@ void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2)
aPol[4]=aPol0[1]; aPol[4]=aPol0[1];
Poly2Rect(aPol,maRect,aGeo); Poly2Rect(aPol,maRect,aGeo);
if (bRota90Merk) { if (bRotate90) {
bool bRota90=aGeo.nRotationAngle % 9000 ==0; bool bRota90=aGeo.nRotationAngle % 9000 ==0;
if (bRota90Merk && !bRota90) { // there's seems to be a rounding error occurring: correct it if (bRotate90 && !bRota90) { // there's seems to be a rounding error occurring: correct it
long a=NormAngle36000(aGeo.nRotationAngle); long a=NormAngle36000(aGeo.nRotationAngle);
if (a<4500) a=0; if (a<4500) a=0;
else if (a<13500) a=9000; else if (a<13500) a=9000;
...@@ -268,7 +268,7 @@ void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2) ...@@ -268,7 +268,7 @@ void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2)
aGeo.RecalcSinCos(); aGeo.RecalcSinCos();
} }
} }
if (bNoShearMerk!=(aGeo.nShearAngle==0)) { // correct a rounding error occurring with Shear if (bNotSheared!=(aGeo.nShearAngle==0)) { // correct a rounding error occurring with Shear
aGeo.nShearAngle=0; aGeo.nShearAngle=0;
aGeo.RecalcTan(); aGeo.RecalcTan();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment