diff options
Diffstat (limited to 'sw/source/core/edit/edtab.cxx')
-rw-r--r-- | sw/source/core/edit/edtab.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/edit/edtab.cxx b/sw/source/core/edit/edtab.cxx index 30cb3b412063..9e630b8b3374 100644 --- a/sw/source/core/edit/edtab.cxx +++ b/sw/source/core/edit/edtab.cxx @@ -205,8 +205,8 @@ bool SwEditShell::IsTextToTableAvailable() const bOnlyText = true; // check if selection is in listing - SwNodeOffset nStt = rPaM.Start()->nNode.GetIndex(), - nEnd = rPaM.End()->nNode.GetIndex(); + SwNodeOffset nStt = rPaM.Start()->GetNodeIndex(), + nEnd = rPaM.End()->GetNodeIndex(); for( ; nStt <= nEnd; ++nStt ) if( !GetDoc()->GetNodes()[ nStt ]->IsTextNode() ) |