summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotxtr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdotxtr.cxx')
-rw-r--r--svx/source/svdraw/svdotxtr.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/svx/source/svdraw/svdotxtr.cxx b/svx/source/svdraw/svdotxtr.cxx
index 65514307bb86..6f129affcbba 100644
--- a/svx/source/svdraw/svdotxtr.cxx
+++ b/svx/source/svdraw/svdotxtr.cxx
@@ -239,7 +239,7 @@ void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fract
void SdrTextObj::NbcRotate(const Point& rRef, long nWink, double sn, double cs)
{
- SetGlueReallyAbsolute(TRUE);
+ SetGlueReallyAbsolute(sal_True);
long dx=aRect.Right()-aRect.Left();
long dy=aRect.Bottom()-aRect.Top();
Point aP(aRect.TopLeft());
@@ -258,18 +258,18 @@ void SdrTextObj::NbcRotate(const Point& rRef, long nWink, double sn, double cs)
}
SetRectsDirty();
NbcRotateGluePoints(rRef,nWink,sn,cs);
- SetGlueReallyAbsolute(FALSE);
+ SetGlueReallyAbsolute(sal_False);
}
void SdrTextObj::NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear)
{
- SetGlueReallyAbsolute(TRUE);
+ SetGlueReallyAbsolute(sal_True);
// #75889# when this is a SdrPathObj aRect maybe not initialized
Polygon aPol(Rect2Poly(aRect.IsEmpty() ? GetSnapRect() : aRect, aGeo));
- USHORT nPointCount=aPol.GetSize();
- for (USHORT i=0; i<nPointCount; i++) {
+ sal_uInt16 nPointCount=aPol.GetSize();
+ for (sal_uInt16 i=0; i<nPointCount; i++) {
ShearPoint(aPol[i],rRef,tn,bVShear);
}
Poly2Rect(aPol,aRect,aGeo);
@@ -280,22 +280,22 @@ void SdrTextObj::NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVS
ImpCheckShear();
SetRectsDirty();
NbcShearGluePoints(rRef,nWink,tn,bVShear);
- SetGlueReallyAbsolute(FALSE);
+ SetGlueReallyAbsolute(sal_False);
}
void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2)
{
- SetGlueReallyAbsolute(TRUE);
+ SetGlueReallyAbsolute(sal_True);
FASTBOOL bNoShearMerk=aGeo.nShearWink==0;
- FASTBOOL bRota90Merk=FALSE;
+ FASTBOOL bRota90Merk=sal_False;
if (bNoShearMerk &&
(rRef1.X()==rRef2.X() || rRef1.Y()==rRef2.Y() ||
Abs(rRef1.X()-rRef2.X())==Abs(rRef1.Y()-rRef2.Y()))) {
bRota90Merk=aGeo.nDrehWink % 9000 ==0;
}
Polygon aPol(Rect2Poly(aRect,aGeo));
- USHORT i;
- USHORT nPntAnz=aPol.GetSize();
+ sal_uInt16 i;
+ sal_uInt16 nPntAnz=aPol.GetSize();
for (i=0; i<nPntAnz; i++) {
MirrorPoint(aPol[i],rRef1,rRef2);
}
@@ -333,7 +333,7 @@ void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2)
ImpCheckShear();
SetRectsDirty();
NbcMirrorGluePoints(rRef1,rRef2);
- SetGlueReallyAbsolute(FALSE);
+ SetGlueReallyAbsolute(sal_False);
}
//////////////////////////////////////////////////////////////////////////////
@@ -461,7 +461,7 @@ SdrObject* SdrTextObj::ImpConvertContainedTextToSdrPathObjs(bool bToPoly) const
//////////////////////////////////////////////////////////////////////////////
-SdrObject* SdrTextObj::DoConvertToPolyObj(BOOL bBezier) const
+SdrObject* SdrTextObj::DoConvertToPolyObj(sal_Bool bBezier) const
{
return ImpConvertContainedTextToSdrPathObjs(!bBezier);
}