summaryrefslogtreecommitdiff
path: root/include/editeng/txtrange.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-26 14:11:45 +0200
committerNoel Grandin <noel@peralex.com>2014-02-27 12:30:30 +0200
commit015b80e852f2292fc12f3e209726178f05d95e3c (patch)
tree8c870efbc28cc329f6505f88a320a70563e03d53 /include/editeng/txtrange.hxx
parentc521f0720800a943fedffdc102aa51e09008c677 (diff)
editeng: sal_Bool->bool
Change-Id: I9e27453f0b77a23ae3d811f0a50a85d3fdf80978
Diffstat (limited to 'include/editeng/txtrange.hxx')
-rw-r--r--include/editeng/txtrange.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/editeng/txtrange.hxx b/include/editeng/txtrange.hxx
index c072e0976cc4..b18a79302f2d 100644
--- a/include/editeng/txtrange.hxx
+++ b/include/editeng/txtrange.hxx
@@ -52,10 +52,10 @@ class EDITENG_DLLPUBLIC TextRanger
sal_uInt16 nUpper; // Distance Contour-Text
sal_uInt16 nLower; // Distance Text-Contour
sal_uInt32 nPointCount; // Number of polygon points
- sal_Bool bSimple : 1; // Just outside edge
- sal_Bool bInner : 1; // TRUE: Objekt inline (EditEngine);
- // FALSE: Objekt flow (StarWriter);
- sal_Bool bVertical :1; // for vertical writing mode
+ bool bSimple : 1; // Just outside edge
+ bool bInner : 1; // TRUE: Objekt inline (EditEngine);
+ // FALSE: Objekt flow (StarWriter);
+ bool bVertical :1;// for vertical writing mode
TextRanger( const TextRanger& ); // not implemented
const Rectangle& _GetBoundRect();
@@ -63,7 +63,7 @@ public:
TextRanger( const basegfx::B2DPolyPolygon& rPolyPolygon,
const basegfx::B2DPolyPolygon* pLinePolyPolygon,
sal_uInt16 nCacheSize, sal_uInt16 nLeft, sal_uInt16 nRight,
- sal_Bool bSimple, sal_Bool bInner, sal_Bool bVert = sal_False );
+ bool bSimple, bool bInner, bool bVert = false );
~TextRanger();
LongDqPtr GetTextRanges( const Range& rRange );
sal_uInt16 GetRight() const { return nRight; }
@@ -71,17 +71,17 @@ public:
sal_uInt16 GetUpper() const { return nUpper; }
sal_uInt16 GetLower() const { return nLower; }
sal_uInt32 GetPointCount() const { return nPointCount; }
- sal_Bool IsSimple() const { return bSimple; }
- sal_Bool IsInner() const { return bInner; }
- sal_Bool IsVertical() const { return bVertical; }
- sal_Bool HasBorder() const { return nRight || nLeft; }
+ bool IsSimple() const { return bSimple; }
+ bool IsInner() const { return bInner; }
+ bool IsVertical() const { return bVertical; }
+ bool HasBorder() const { return nRight || nLeft; }
const PolyPolygon& GetPolyPolygon() const { return *mpPolyPolygon; }
const PolyPolygon* GetLinePolygon() const { return mpLinePolyPolygon; }
const Rectangle& GetBoundRect()
{ return pBound ? static_cast< const Rectangle& >(*pBound) : _GetBoundRect(); }
void SetUpper( sal_uInt16 nNew ){ nUpper = nNew; }
void SetLower( sal_uInt16 nNew ){ nLower = nNew; }
- void SetVertical( sal_Bool bNew );
+ void SetVertical( bool bNew );
};
#endif // _TXTRANGE_HXX