[Libreoffice-commits] core.git: sw/source

Michael Stahl Michael.Stahl at cib.de
Fri May 11 14:53:17 UTC 2018


 sw/source/core/text/itratr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24874732caaa64de97850f3833e34401978dcc45
Author: Michael Stahl <Michael.Stahl at 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 <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <Michael.Stahl at 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();
     }


More information about the Libreoffice-commits mailing list