summaryrefslogtreecommitdiff
path: root/sw/source/core/text/portxt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/portxt.cxx')
-rw-r--r--sw/source/core/text/portxt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx
index d40b4d12226c..ea16142b9f33 100644
--- a/sw/source/core/text/portxt.cxx
+++ b/sw/source/core/text/portxt.cxx
@@ -498,10 +498,10 @@ void SwTextPortion::FormatEOL( SwTextFormatInfo &rInf )
}
-TextFrameIndex SwTextPortion::GetCursorOfst(const sal_uInt16 nOfst) const
+TextFrameIndex SwTextPortion::GetModelPositionForViewPoint(const sal_uInt16 nOfst) const
{
- OSL_ENSURE( false, "SwTextPortion::GetCursorOfst: don't use this method!" );
- return SwLinePortion::GetCursorOfst( nOfst );
+ OSL_ENSURE( false, "SwTextPortion::GetModelPositionForViewPoint: don't use this method!" );
+ return SwLinePortion::GetModelPositionForViewPoint( nOfst );
}
// The GetTextSize() assumes that the own length is correct