summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoframe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoframe.cxx')
-rw-r--r--sw/source/core/unocore/unoframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 929172e94ff1..f2f75ac2e623 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -2677,7 +2677,7 @@ void SwXFrame::dispose()
{
const SwPosition &rPos = *(pFormat->GetAnchor().GetContentAnchor());
SwTextNode *pTextNode = rPos.GetNode().GetTextNode();
- const sal_Int32 nIdx = rPos.nContent.GetIndex();
+ const sal_Int32 nIdx = rPos.GetContentIndex();
pTextNode->DeleteAttributes( RES_TXTATR_FLYCNT, nIdx, nIdx );
}
else