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 dd9e44b21d96..014421371ba0 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -88,8 +88,8 @@ namespace SwUnoCursorHelper
inline bool IsStartOfPara(SwPaM& rUnoCursor)
{ return rUnoCursor.GetPoint()->nContent == 0;}
inline bool IsEndOfPara(SwPaM& rUnoCursor)
- { return rUnoCursor.GetContentNode() &&
- rUnoCursor.GetPoint()->nContent == rUnoCursor.GetContentNode()->Len();}
+ { return rUnoCursor.GetPointContentNode() &&
+ rUnoCursor.GetPoint()->nContent == rUnoCursor.GetPointContentNode()->Len();}
void resetCursorPropertyValue(const SfxItemPropertyMapEntry& rEntry, SwPaM& rPam);
/// @throws css::lang::IllegalArgumentException