[Libreoffice-commits] core.git: hwpfilter/source
Caolán McNamara
caolanm at redhat.com
Thu Jan 25 20:32:25 UTC 2018
hwpfilter/source/hwpread.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 09af5c6ce286333d6c41dbd1432c2007c5691f8e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 25 13:52:51 2018 +0000
ofz#5379 Timeout
Change-Id: I876ed253c61a13faae2b31c43fa595b3612cd082
Reviewed-on: https://gerrit.libreoffice.org/48610
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index 25d1d5188fc4..bb8df6defe4a 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -448,7 +448,7 @@ bool Picture::Read(HWPFile & hwpf)
{
size_t nOldSize = follow.size();
size_t nBlock = std::min(SAL_N_ELEMENTS(hwpf.scratch), follow_block_size - nOldSize);
- size_t nReadBlock = hwpf.Read1b(hwpf.scratch, nBlock);
+ size_t nReadBlock = hwpf.ReadBlock(hwpf.scratch, nBlock);
if (nReadBlock)
{
follow.insert(follow.end(), hwpf.scratch, hwpf.scratch + nReadBlock);
More information about the Libreoffice-commits
mailing list