From 9a236714e539c772cad7b56caf21dc12b79e77df Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 2 Nov 2017 13:24:41 +0000 Subject: ofz#3858 use a single scratch buffer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Icdea835b89da2e7233e17893c759e411d659811c Reviewed-on: https://gerrit.libreoffice.org/44213 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- hwpfilter/source/hwpfile.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hwpfilter/source/hwpfile.h') diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h index bfa6da1b97e6..817173d24707 100644 --- a/hwpfilter/source/hwpfile.h +++ b/hwpfilter/source/hwpfile.h @@ -31,7 +31,7 @@ #include #include #include - +#include #include "hwplib.h" #include "hfont.h" #include "hstyle.h" @@ -273,11 +273,12 @@ class DLLEXPORT HWPFile int info_block_len; int error_code; OlePicture *oledata; + unsigned char scratch[SAL_MAX_UINT16]; private: /* hwp 파일 이름 */ - int m_nCurrentPage; - int m_nMaxSettedPage; + int m_nCurrentPage; + int m_nMaxSettedPage; HIODev *hiodev; // read hwp contents HWPInfo _hwpInfo; -- cgit