summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/fntcap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/fntcap.cxx')
-rw-r--r--sw/source/core/txtnode/fntcap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index da9382f78f88..98fca76d705f 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -379,12 +379,12 @@ void SwDoCapitalCursorOfst::Do()
if ( rInf.GetUpper() )
{
aDrawInf.SetSpace( 0 );
- nCursor = nCursor + pUpperFnt->GetCursorOfst( aDrawInf );
+ nCursor = nCursor + pUpperFnt->GetModelPositionForViewPoint( aDrawInf );
}
else
{
aDrawInf.SetSpace( rInf.GetSpace() );
- nCursor = nCursor + pLowerFnt->GetCursorOfst( aDrawInf );
+ nCursor = nCursor + pLowerFnt->GetModelPositionForViewPoint( aDrawInf );
}
nOfst = 0;
}