diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-06 17:23:49 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-08 21:51:37 +0200 |
commit | 90cb0c4c43e744e058241c736b322337de5f0bc6 (patch) | |
tree | a900e13b75de9939d93fa5ad79cbf0ce559fa710 /sw/source/core/text/itrpaint.cxx | |
parent | 42c775b2b0f5cf0014a65b38927d5951886b199f (diff) |
sw_redlinehide: SwAttrIter direct ctor gets a SwTextFrame arg
... and use it in SwTextPainter::CheckSpecialUnderline()
Change-Id: I904cb955f0bc8dc1f92612b47dc129922865c198
Diffstat (limited to 'sw/source/core/text/itrpaint.cxx')
-rw-r--r-- | sw/source/core/text/itrpaint.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx index 295765d7f809..7e2458fcb2b9 100644 --- a/sw/source/core/text/itrpaint.cxx +++ b/sw/source/core/text/itrpaint.cxx @@ -596,8 +596,8 @@ void SwTextPainter::CheckSpecialUnderline( const SwLinePortion* pPor, { // here starts the algorithm for calculating the underline font SwScriptInfo& rScriptInfo = GetInfo().GetParaPortion()->GetScriptInfo(); - SwAttrIter aIter( *GetInfo().GetTextFrame()->GetTextNode(), - rScriptInfo ); + SwAttrIter aIter(*GetInfo().GetTextFrame()->GetTextNodeFirst(), + rScriptInfo, GetTextFrame()); TextFrameIndex nTmpIdx = nIndx; sal_uLong nSumWidth = 0; |