summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unocrsr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unocrsr.cxx')
-rw-r--r--sw/source/core/unocore/unocrsr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unocrsr.cxx b/sw/source/core/unocore/unocrsr.cxx
index 3d755db9a874..36764284c518 100644
--- a/sw/source/core/unocore/unocrsr.cxx
+++ b/sw/source/core/unocore/unocrsr.cxx
@@ -157,7 +157,7 @@ bool SwUnoCrsr::IsSelOvr( int eFlags )
rPtIdx.Assign( *pInvalidNode, -1 );
if( !rPtIdx.GetNode().IsCntntNode() &&
- ( !pDoc->GetNodes().GoPrevSection( &rPtIdx ) ||
+ ( !SwNodes::GoPrevSection( &rPtIdx ) ||
rPtIdx < *pOldSttNd ) )
break;
}