diff options
-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 35e3696fc8aa..56ef91936db3 100644 --- a/sw/source/core/doc/docfld.cxx +++ b/sw/source/core/doc/docfld.cxx @@ -322,9 +322,11 @@ sal_Int32 SetGetExpField::GetCntPosFromContent() const switch( eSetGetExpFieldType ) { case TEXTFIELD: - case TEXTINET: nRet = CNTNT.pTextField->GetStart(); break; + case TEXTINET: + nRet = CNTNT.pTextINet->GetStart(); + break; case TEXTTOXMARK: nRet = CNTNT.pTextTOX->GetStart(); break; |