[Libreoffice-commits] core.git: lotuswordpro/source
Noel Grandin
noel at peralex.com
Thu Jun 9 12:38:32 UTC 2016
lotuswordpro/source/filter/lwpobjstrm.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 6363f7277fc9efc86ac699d0ea973021ed2b652c
Author: Noel Grandin <noel at peralex.com>
Date: Thu Jun 9 14:36:53 2016 +0200
remove "read request longer than buffer" warning
code is actually relying on this clamping behaviour
Change-Id: I7f85679929b2c163dbabe01fc7bb8f1fe2327679
diff --git a/lotuswordpro/source/filter/lwpobjstrm.cxx b/lotuswordpro/source/filter/lwpobjstrm.cxx
index 748b48f..bb7e255 100644
--- a/lotuswordpro/source/filter/lwpobjstrm.cxx
+++ b/lotuswordpro/source/filter/lwpobjstrm.cxx
@@ -169,7 +169,6 @@ sal_uInt16 LwpObjectStream::QuickRead(void* buf, sal_uInt16 len)
memset(buf, 0, len);
if( len > m_nBufSize - m_nReadPos )
{
- SAL_WARN("lwp", "read request longer than buffer");
len = m_nBufSize - m_nReadPos;
}
if( m_pContentBuf && len)
More information about the Libreoffice-commits
mailing list