sw/source/core/text/itratr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 24874732caaa64de97850f3833e34401978dcc45 Author: Michael Stahl <michael.st...@cib.de> Date: Mon Apr 23 16:27:51 2018 +0200 SwAttrIter: replace USHRT_MAX with COMPLETE_STRING for para index Change-Id: I62698f92190e9d763e559ff26297ac87f120fc80 Reviewed-on: https://gerrit.libreoffice.org/54116 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Michael Stahl <michael.st...@cib.de> 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(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits