summaryrefslogtreecommitdiffstats
path: root/sw/inc/unocrsrhelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/unocrsrhelper.hxx')
-rw-r--r--sw/inc/unocrsrhelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index 014421371ba0..af3c779f2288 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -86,10 +86,10 @@ namespace SwUnoCursorHelper
void GetCurPageStyle(SwPaM const & rPaM, OUString &rString);
inline bool IsStartOfPara(SwPaM& rUnoCursor)
- { return rUnoCursor.GetPoint()->nContent == 0;}
+ { return rUnoCursor.GetPoint()->GetContentIndex() == 0;}
inline bool IsEndOfPara(SwPaM& rUnoCursor)
{ return rUnoCursor.GetPointContentNode() &&
- rUnoCursor.GetPoint()->nContent == rUnoCursor.GetPointContentNode()->Len();}
+ rUnoCursor.GetPoint()->GetContentIndex() == rUnoCursor.GetPointContentNode()->Len();}
void resetCursorPropertyValue(const SfxItemPropertyMapEntry& rEntry, SwPaM& rPam);
/// @throws css::lang::IllegalArgumentException