diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-04-23 16:27:51 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-05-11 16:52:53 +0200 |
commit | 24874732caaa64de97850f3833e34401978dcc45 (patch) | |
tree | 32f272eec33b913f1a98082d7ecf479cb0030c5c /sw/source | |
parent | 3aa01898e58c4a3bea64fea33778ac455f1f5253 (diff) |
SwAttrIter: replace USHRT_MAX with COMPLETE_STRING for para index
Change-Id: I62698f92190e9d763e559ff26297ac87f120fc80
Reviewed-on: https://gerrit.libreoffice.org/54116
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/text/itratr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx index e01f3a07d16f..43271ab0b595 100644 --- a/sw/source/core/text/itratr.cxx +++ b/sw/source/core/text/itratr.cxx @@ -159,7 +159,7 @@ bool SwAttrIter::SeekStartAndChgAttrIter( OutputDevice* pOut, const bool bParaFo { m_pRedline->Clear( m_pFont ); if( !bParaFont ) - m_nChgCnt = m_nChgCnt + m_pRedline->Seek( *m_pFont, 0, USHRT_MAX ); + m_nChgCnt = m_nChgCnt + m_pRedline->Seek(*m_pFont, 0, COMPLETE_STRING); else m_pRedline->Reset(); } |