diff options
Diffstat (limited to 'sw/source/ui/utlui/shdwcrsr.cxx')
-rw-r--r-- | sw/source/ui/utlui/shdwcrsr.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/utlui/shdwcrsr.cxx b/sw/source/ui/utlui/shdwcrsr.cxx index 36f81c1a21..b72a9556ca 100644 --- a/sw/source/ui/utlui/shdwcrsr.cxx +++ b/sw/source/ui/utlui/shdwcrsr.cxx @@ -45,7 +45,7 @@ SwShadowCursor::~SwShadowCursor() DrawCrsr( aOldPt, nOldHeight, nOldMode ); } -void SwShadowCursor::SetPos( const Point& rPt, long nHeight, USHORT nMode ) +void SwShadowCursor::SetPos( const Point& rPt, long nHeight, sal_uInt16 nMode ) { Point aPt( pWin->LogicToPixel( rPt )); nHeight = pWin->LogicToPixel( Size( 0, nHeight )).Height(); @@ -61,7 +61,7 @@ void SwShadowCursor::SetPos( const Point& rPt, long nHeight, USHORT nMode ) } } -void SwShadowCursor::DrawTri( const Point& rPt, long nHeight, BOOL bLeft ) +void SwShadowCursor::DrawTri( const Point& rPt, long nHeight, sal_Bool bLeft ) { long nLineDiff = ( nHeight / 2 ); long nLineDiffHalf = nLineDiff / 2; @@ -80,7 +80,7 @@ void SwShadowCursor::DrawTri( const Point& rPt, long nHeight, BOOL bLeft ) } } -void SwShadowCursor::DrawCrsr( const Point& rPt, long nHeight, USHORT nMode ) +void SwShadowCursor::DrawCrsr( const Point& rPt, long nHeight, sal_uInt16 nMode ) { nHeight = (((nHeight / 4)+1) * 4) + 1; @@ -97,9 +97,9 @@ void SwShadowCursor::DrawCrsr( const Point& rPt, long nHeight, USHORT nMode ) // 2. das Dreieck if( text::HoriOrientation::LEFT == nMode || text::HoriOrientation::CENTER == nMode ) // Pfeil nach rechts - DrawTri( rPt, nHeight, FALSE ); + DrawTri( rPt, nHeight, sal_False ); if( text::HoriOrientation::RIGHT == nMode || text::HoriOrientation::CENTER == nMode ) // Pfeil nach links - DrawTri( rPt, nHeight, TRUE ); + DrawTri( rPt, nHeight, sal_True ); pWin->Pop(); } |