summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/tstpitem.hxx8
-rw-r--r--include/editeng/twolinesitem.hxx8
-rw-r--r--include/editeng/txtrange.hxx20
3 files changed, 18 insertions, 18 deletions
diff --git a/include/editeng/tstpitem.hxx b/include/editeng/tstpitem.hxx
index 719f50239664..c0a71362dc2a 100644
--- a/include/editeng/tstpitem.hxx
+++ b/include/editeng/tstpitem.hxx
@@ -53,7 +53,7 @@ public:
const sal_Unicode cFil = cDfltFillChar );
sal_Int32& GetTabPos() { return nTabPos; }
- sal_Int32 GetTabPos() const { return nTabPos; }
+ sal_Int32 GetTabPos() const { return nTabPos; }
SvxTabAdjust& GetAdjustment() { return eAdjustment; }
SvxTabAdjust GetAdjustment() const { return eAdjustment; }
@@ -67,7 +67,7 @@ public:
OUString GetValueString() const;
// the "old" operator==()
- sal_Bool IsEqual( const SvxTabStop& rTS ) const
+ bool IsEqual( const SvxTabStop& rTS ) const
{
return ( nTabPos == rTS.nTabPos &&
eAdjustment == rTS.eAdjustment &&
@@ -76,9 +76,9 @@ public:
}
// For the SortedArray:
- sal_Bool operator==( const SvxTabStop& rTS ) const
+ bool operator==( const SvxTabStop& rTS ) const
{ return nTabPos == rTS.nTabPos; }
- sal_Bool operator <( const SvxTabStop& rTS ) const
+ bool operator <( const SvxTabStop& rTS ) const
{ return nTabPos < rTS.nTabPos; }
SvxTabStop& operator=( const SvxTabStop& rTS )
diff --git a/include/editeng/twolinesitem.hxx b/include/editeng/twolinesitem.hxx
index 6ebc9d27be5a..a2e01ac69688 100644
--- a/include/editeng/twolinesitem.hxx
+++ b/include/editeng/twolinesitem.hxx
@@ -28,10 +28,10 @@ class SvXMLUnitConverter;
class EDITENG_DLLPUBLIC SvxTwoLinesItem : public SfxPoolItem
{
sal_Unicode cStartBracket, cEndBracket;
- sal_Bool bOn;
+ bool bOn;
public:
TYPEINFO();
- SvxTwoLinesItem( sal_Bool bOn /*= sal_True*/,
+ SvxTwoLinesItem( bool bOn /*= true*/,
sal_Unicode nStartBracket /*= 0*/,
sal_Unicode nEndBracket /*= 0*/,
sal_uInt16 nId );
@@ -62,8 +62,8 @@ public:
return *this;
}
- sal_Bool GetValue() const { return bOn; }
- void SetValue( sal_Bool bFlag ) { bOn = bFlag; }
+ bool GetValue() const { return bOn; }
+ void SetValue( bool bFlag ) { bOn = bFlag; }
sal_Unicode GetStartBracket() const { return cStartBracket; }
void SetStartBracket( sal_Unicode c ) { cStartBracket = c; }
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