diff options
author | Tomoyuki Kubota <himajin100000@gmail.com> | 2021-02-17 19:37:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-02-18 09:14:15 +0100 |
commit | ddde467cdc60a0373c952c04b5f138ad96ff66e4 (patch) | |
tree | 8a0c803fb4f572e52f9e69bd3e78cb1695f79b31 | |
parent | 6cb2365511e23abd22f76cda76981222b81efdc4 (diff) |
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 <vmiklos@collabora.com>
-rw-r--r-- | sw/source/core/text/guess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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!!!" ); } |