sw/source/core/text/guess.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ddde467cdc60a0373c952c04b5f138ad96ff66e4
Author:     Tomoyuki Kubota <himajin100...@gmail.com>
AuthorDate: Wed Feb 17 19:37:47 2021 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Thu Feb 18 09:14:15 2021 +0100

    adapt to prefixing , even when OSL_DEBUG_LEVEL > 1
    
    Change-Id: I5fe9755eaf0cce963fda2dbc2ec27b31d0d7dc52
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111045
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index 8f7d39566973..8bf9819c4d66 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -205,10 +205,10 @@ bool SwTextGuess::Guess( const SwTextPortion& rPor, 
SwTextFormatInfo &rInf,
         m_nCutPos = rInf.GetTextBreak( nLineWidth, nMaxLen, nMaxComp, 
rInf.GetCachedVclData().get() );
 
 #if OSL_DEBUG_LEVEL > 1
-        if ( TextFrameIndex(COMPLETE_STRING) != nCutPos )
+        if ( TextFrameIndex(COMPLETE_STRING) != m_nCutPos )
         {
             sal_uInt16 nMinSize;
-            rInf.GetTextSize( &rSI, rInf.GetIdx(), nCutPos - rInf.GetIdx(),
+            rInf.GetTextSize( &rSI, rInf.GetIdx(), m_nCutPos - rInf.GetIdx(),
                              nMaxComp, nMinSize, nMaxSizeDiff );
             OSL_ENSURE( nMinSize <= nLineWidth, "What a Guess!!!" );
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to