diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-09-08 14:56:05 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-09-08 19:37:26 +0000 |
commit | 1553ace0a46c2659540dbf746aa862ccbb160ffd (patch) | |
tree | f503224fc13268773a9e7e9e9212c8516548adab /sw | |
parent | 8ab005af961709b51398c523516fe61a54ca2131 (diff) |
tdf#91523 sw: fix navigation to index mark
Access pTextTox instead of pTextField in case of TEXTTOXMARK
Change-Id: I92ece6f4c5d6a6427f89cbd43a15a4b0a3adb645
Reviewed-on: https://gerrit.libreoffice.org/18407
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docfld.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx index 88015e375111..410892ee3d00 100644 --- a/sw/source/core/doc/docfld.cxx +++ b/sw/source/core/doc/docfld.cxx @@ -323,9 +323,11 @@ sal_Int32 _SetGetExpField::GetCntPosFromContent() const { case TEXTFIELD: case TEXTINET: - case TEXTTOXMARK: nRet = CNTNT.pTextField->GetStart(); break; + case TEXTTOXMARK: + nRet = CNTNT.pTextTOX->GetStart(); + break; case CRSRPOS: nRet = CNTNT.pPos->nContent.GetIndex(); break; |