summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/crsrsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/crsr/crsrsh.cxx')
-rw-r--r--sw/source/core/crsr/crsrsh.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index f7639a2ca872..094d11a4e29d 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -278,7 +278,7 @@ void SwCursorShell::EndAction( const bool bIdleEnd, const bool DoSetPosX )
{
// watch Cursor-Moves, call Link if needed, the DTOR is key here!
- SwCallLink aLk( *this, m_nAktNode, m_nAktContent, (sal_uInt8)m_nAktNdTyp,
+ SwCallLink aLk( *this, m_nAktNode, m_nAktContent, m_nAktNdTyp,
m_nLeftFramePos, m_bAktSelection );
}
@@ -299,7 +299,7 @@ void SwCursorShell::EndAction( const bool bIdleEnd, const bool DoSetPosX )
{
SwCallLink aLk( *this ); // watch Cursor-Moves
aLk.nNode = m_nAktNode; // call Link if needed
- aLk.nNdTyp = (sal_uInt8)m_nAktNdTyp;
+ aLk.nNdTyp = m_nAktNdTyp;
aLk.nContent = m_nAktContent;
aLk.nLeftFramePos = m_nLeftFramePos;
@@ -2656,7 +2656,7 @@ SwCursorShell::SwCursorShell( SwCursorShell& rShell, vcl::Window *pInitWin )
, m_nLeftFramePos(0)
, m_nAktNode(0)
, m_nAktContent(0)
- , m_nAktNdTyp(0)
+ , m_nAktNdTyp(SwNodeType::NONE)
, m_bAktSelection(false)
, m_nCursorMove( 0 )
, m_nBasicActionCnt( 0 )
@@ -2694,7 +2694,7 @@ SwCursorShell::SwCursorShell( SwDoc& rDoc, vcl::Window *pInitWin,
, m_nLeftFramePos(0)
, m_nAktNode(0)
, m_nAktContent(0)
- , m_nAktNdTyp(0)
+ , m_nAktNdTyp(SwNodeType::NONE)
, m_bAktSelection(false)
, m_nCursorMove( 0 )
, m_nBasicActionCnt( 0 )
@@ -2946,7 +2946,7 @@ bool SwCursorShell::FindValidContentNode( bool bOnlyText )
{
SwCallLink aTmp( *this );
SwCursorSaveState aSaveState( *m_pCurrentCursor );
- aTmp.nNdTyp = 0; // don't do anything in DTOR
+ aTmp.nNdTyp = SwNodeType::NONE; // don't do anything in DTOR
if( !m_pCurrentCursor->IsInProtectTable( true ) )
{
const SwSectionNode* pSNd = pCNd->FindSectionNode();