summaryrefslogtreecommitdiff
path: root/sw/source/filter/inc/fltshell.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/inc/fltshell.hxx')
-rw-r--r--sw/source/filter/inc/fltshell.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx
index 865ff5cfdf97..e4041d2da09a 100644
--- a/sw/source/filter/inc/fltshell.hxx
+++ b/sw/source/filter/inc/fltshell.hxx
@@ -65,14 +65,14 @@ public:
//and the offset to content is de-dynamic-ified
SwFltPosition(const SwPosition &rPos)
: m_nNode(rPos.nNode, -1)
- , m_nContent(rPos.nContent.GetIndex())
+ , m_nContent(rPos.GetContentIndex())
{
}
void FromSwPosition(const SwPosition &rPos)
{
m_nNode = rPos.GetNodeIndex()-1;
- m_nContent = rPos.nContent.GetIndex();
+ m_nContent = rPos.GetContentIndex();
}
};