diff options
Diffstat (limited to 'sw/source/core/doc/doctxm.cxx')
-rw-r--r-- | sw/source/core/doc/doctxm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/doctxm.cxx b/sw/source/core/doc/doctxm.cxx index c65b060e3fa7..b98419b81857 100644 --- a/sw/source/core/doc/doctxm.cxx +++ b/sw/source/core/doc/doctxm.cxx @@ -126,7 +126,7 @@ sal_uInt16 SwDoc::GetCurTOXMark( const SwPosition& rPos, sal_Int32 nSttIdx; const sal_Int32 *pEndIdx; - const sal_Int32 nCurrentPos = rPos.nContent.GetIndex(); + const sal_Int32 nCurrentPos = rPos.GetContentIndex(); for( size_t n = 0; n < rHts.Count(); ++n ) { |