diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-07 17:37:00 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-06-14 16:19:08 +0200 |
commit | fb93a9da22dc9052e8ab8d057283e0cfffb659c4 (patch) | |
tree | 445031af42c1409cabb1e60398188024b99013ab /sw/source/core/text/portxt.cxx | |
parent | 543fc57787ebccb30a05f795abe6e74c4288e704 (diff) |
sw_redlinehide: use WrongListIterator in text formatting code
Change-Id: Ie13119d456fa6fe3919871cc541a9ad927b5982e
Diffstat (limited to 'sw/source/core/text/portxt.cxx')
-rw-r--r-- | sw/source/core/text/portxt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx index 8256d458357e..69593f8d157c 100644 --- a/sw/source/core/text/portxt.cxx +++ b/sw/source/core/text/portxt.cxx @@ -550,9 +550,9 @@ void SwTextPortion::Paint( const SwTextPaintInfo &rInf ) const if( rInf.OnWin() && pPortion && !pPortion->Width() ) pPortion->PrePaint( rInf, this ); - const SwWrongList *pWrongList = rInf.GetpWrongList(); - const SwWrongList *pGrammarCheckList = rInf.GetGrammarCheckList(); - const SwWrongList *pSmarttags = rInf.GetSmartTags(); + auto const* pWrongList = rInf.GetpWrongList(); + auto const* pGrammarCheckList = rInf.GetGrammarCheckList(); + auto const* pSmarttags = rInf.GetSmartTags(); const bool bWrong = nullptr != pWrongList; const bool bGrammarCheck = nullptr != pGrammarCheckList; |