summaryrefslogtreecommitdiff
path: root/editeng/source/editeng/editdoc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/editeng/editdoc.hxx')
-rw-r--r--editeng/source/editeng/editdoc.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index 61e8a34854cd..bfc2df22e55c 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -70,12 +70,12 @@ struct EPaM
inline bool EPaM::operator < ( const EPaM& r ) const
{
return ( ( nPara < r.nPara ) ||
- ( ( nPara == r.nPara ) && nIndex < r.nIndex ) ) ? sal_True : sal_False;
+ ( ( nPara == r.nPara ) && nIndex < r.nIndex ) ) ? true : false;
}
inline bool EPaM::operator == ( const EPaM& r ) const
{
- return ( ( nPara == r.nPara ) && ( nIndex == r.nIndex ) ) ? sal_True : sal_False;
+ return ( ( nPara == r.nPara ) && ( nIndex == r.nIndex ) ) ? true : false;
}
struct ScriptTypePosInfo
@@ -546,7 +546,7 @@ public:
void SetInvalid() { bInvalid = true; }
void SetValid() { bInvalid = false; }
- bool IsEmpty() const { return (nEnd > nStart) ? sal_False : sal_True; }
+ bool IsEmpty() const { return (nEnd > nStart) ? false : true; }
CharPosArrayType& GetCharPosArray() { return aPositions;}
const CharPosArrayType& GetCharPosArray() const { return aPositions;}