summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/blink.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/blink.hxx')
-rw-r--r--sw/source/core/inc/blink.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/inc/blink.hxx b/sw/source/core/inc/blink.hxx
index 8c240d77a1..8611477d16 100644
--- a/sw/source/core/inc/blink.hxx
+++ b/sw/source/core/inc/blink.hxx
@@ -41,9 +41,9 @@ class SwBlinkPortion
Point aPos;
const SwLinePortion *pPor;
const SwRootFrm *pFrm;
- USHORT nDir;
+ sal_uInt16 nDir;
public:
- SwBlinkPortion( const SwLinePortion* pPortion, USHORT nDirection )
+ SwBlinkPortion( const SwLinePortion* pPortion, sal_uInt16 nDirection )
{ pPor = pPortion; nDir = nDirection; }
SwBlinkPortion( const SwBlinkPortion* pBlink, const SwLinePortion* pPort )
{ pPor = pPort; pFrm = pBlink->pFrm; aPos = pBlink->aPos; nDir = pBlink->nDir; }
@@ -52,10 +52,10 @@ public:
void SetRootFrm( const SwRootFrm* pNew ){ pFrm = pNew; }
const SwRootFrm* GetRootFrm() const{ return pFrm; }
const SwLinePortion *GetPortion() const{ return pPor; }
- USHORT GetDirection() const { return nDir; }
- BOOL operator<( const SwBlinkPortion& rBlinkPortion ) const
+ sal_uInt16 GetDirection() const { return nDir; }
+ sal_Bool operator<( const SwBlinkPortion& rBlinkPortion ) const
{ return (long)pPor < (long)rBlinkPortion.pPor; }
- BOOL operator==( const SwBlinkPortion& rBlinkPortion ) const
+ sal_Bool operator==( const SwBlinkPortion& rBlinkPortion ) const
{ return (long)pPor == (long)rBlinkPortion.pPor; }
};
@@ -66,7 +66,7 @@ class SwBlink
{
SwBlinkList aList;
AutoTimer aTimer;
- BOOL bVisible;
+ sal_Bool bVisible;
public:
SwBlink();
~SwBlink();
@@ -74,11 +74,11 @@ public:
DECL_LINK( Blinker, Timer * );
void Insert( const Point& rPoint, const SwLinePortion* pPor,
- const SwTxtFrm *pTxtFrm, USHORT nDir );
+ const SwTxtFrm *pTxtFrm, sal_uInt16 nDir );
void Replace( const SwLinePortion* pOld, const SwLinePortion* pNew );
void Delete( const SwLinePortion* pPor );
void FrmDelete( const SwRootFrm* pRoot );
- inline BOOL IsVisible() const { return bVisible ; }
+ inline sal_Bool IsVisible() const { return bVisible ; }
};
// Blink-Manager, globale Variable, in Blink.Cxx angelegt