summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/items/svxfont.cxx2
-rw-r--r--include/editeng/svxfont.hxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index 636c1535f366..5c1c91339cbd 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -59,7 +59,7 @@ SvxFont::SvxFont( const SvxFont &rFont )
}
void SvxFont::DrawArrow( OutputDevice &rOut, const Rectangle& rRect,
- const Size& rSize, const Color& rCol, sal_Bool bLeft )
+ const Size& rSize, const Color& rCol, bool bLeft )
{
long nLeft = ( rRect.Left() + rRect.Right() - rSize.Width() )/ 2;
long nRight = nLeft + rSize.Width();
diff --git a/include/editeng/svxfont.hxx b/include/editeng/svxfont.hxx
index cbd4d0280291..43036503be16 100644
--- a/include/editeng/svxfont.hxx
+++ b/include/editeng/svxfont.hxx
@@ -65,10 +65,10 @@ public:
inline void SetCaseMap( const SvxCaseMap eNew ) { eCaseMap = eNew; }
// Is-Methods:
- inline sal_Bool IsCaseMap() const { return SVX_CASEMAP_NOT_MAPPED != eCaseMap; }
- inline sal_Bool IsCapital() const { return SVX_CASEMAP_KAPITAELCHEN == eCaseMap; }
- inline sal_Bool IsKern() const { return 0 != nKern; }
- inline sal_Bool IsEsc() const { return 0 != nEsc; }
+ inline bool IsCaseMap() const { return SVX_CASEMAP_NOT_MAPPED != eCaseMap; }
+ inline bool IsCapital() const { return SVX_CASEMAP_KAPITAELCHEN == eCaseMap; }
+ inline bool IsKern() const { return 0 != nKern; }
+ inline bool IsEsc() const { return 0 != nEsc; }
// Consider Upper case, Lower case letters etc.
OUString CalcCaseMap(const OUString &rTxt) const;
@@ -103,7 +103,7 @@ public:
const sal_Int32 nIdx = 0, const sal_Int32 nLen = SAL_MAX_INT32 ) const;
static void DrawArrow( OutputDevice &rOut, const Rectangle& rRect,
- const Size& rSize, const Color& rCol, sal_Bool bLeft );
+ const Size& rSize, const Color& rCol, bool bLeft );
SvxFont& operator=( const SvxFont& rFont );
SvxFont& operator=( const Font& rFont );
};