summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/edtwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/edtwin.cxx')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index e44b629c06d0..b38b0a521326 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5628,9 +5628,9 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
if( pCursor )
{
- sal_uLong nPosNodeIdx = pCursor->GetPoint()->nNode.GetIndex();
+ SwNodeOffset nPosNodeIdx = pCursor->GetPoint()->nNode.GetIndex();
const sal_Int32 nPosIdx = pCursor->GetPoint()->nContent.GetIndex();
- sal_uLong nMarkNodeIdx = pCursor->GetMark()->nNode.GetIndex();
+ SwNodeOffset nMarkNodeIdx = pCursor->GetMark()->nNode.GetIndex();
const sal_Int32 nMarkIdx = pCursor->GetMark()->nContent.GetIndex();
if( !rSh.GetCursor()->HasMark() )