diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-05-23 11:36:15 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-08 21:51:30 +0200 |
commit | 3337a14a4ffb140a5fe4e5b9fcae87d68e84bd36 (patch) | |
tree | e19d4e9425feb79f87e37ed56757ad522b830c59 /sw/source/core/text/itrcrsr.cxx | |
parent | d10f615c2003796a23b69c6a83aebfc6f954c315 (diff) |
sw_redlinehide: SwDrawTextInfo conversion in frmpaint.cxx etc.
Change-Id: I64bb3478b11888373d9b5e0c8d4716065a625f6c
Diffstat (limited to 'sw/source/core/text/itrcrsr.cxx')
-rw-r--r-- | sw/source/core/text/itrcrsr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx index fb1e7fba9cb2..636121362f0a 100644 --- a/sw/source/core/text/itrcrsr.cxx +++ b/sw/source/core/text/itrcrsr.cxx @@ -1651,11 +1651,11 @@ TextFrameIndex SwTextCursor::GetCursorOfst( SwPosition *pPos, const Point &rPoin // additional information: aDrawInf.SetNumberOfBlanks( pPor->InTextGrp() ? static_cast<const SwTextPortion*>(pPor)->GetSpaceCnt( aSizeInf, nCharCnt ) : - 0 ); + TextFrameIndex(0) ); } if ( pPor->InFieldGrp() && pCMS && pCMS->m_pSpecialPos ) - aDrawInf.SetLen( COMPLETE_STRING ); + aDrawInf.SetLen( TextFrameIndex(COMPLETE_STRING) ); aDrawInf.SetSpace( nSpaceAdd ); aDrawInf.SetFont( aSizeInf.GetFont() ); |