[Libreoffice-commits] core.git: sw/source
Tomoyuki Kubota (via logerrit)
logerrit at kemper.freedesktop.org
Thu Feb 18 08:15:08 UTC 2021
sw/source/core/text/guess.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ddde467cdc60a0373c952c04b5f138ad96ff66e4
Author: Tomoyuki Kubota <himajin100000 at gmail.com>
AuthorDate: Wed Feb 17 19:37:47 2021 +0100
Commit: Miklos Vajna <vmiklos at 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 <vmiklos at 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!!!" );
}
More information about the Libreoffice-commits
mailing list