summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hinfo.h
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-06-20 10:29:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-06-20 13:13:17 +0200
commit43ae4e9a694c68101a907b0d1e31b4bd57e11bd1 (patch)
treee8d7ed972d7cbcc23c01260f303262145693d6c1 /hwpfilter/source/hinfo.h
parentf4ff0ed55707078868415541c4a1aebd3db1e142 (diff)
ofz#47463 OOM only first byte of 'font', 'ratio' and 'space' are used
1.098GB -> 854.6MB Change-Id: I3390c3a5abe457f8d0ad49b03b50a2d353566c2a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136142 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter/source/hinfo.h')
-rw-r--r--hwpfilter/source/hinfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hinfo.h b/hwpfilter/source/hinfo.h
index 003dafc0d308..fe473f4effc4 100644
--- a/hwpfilter/source/hinfo.h
+++ b/hwpfilter/source/hinfo.h
@@ -219,10 +219,10 @@ struct CharShape
* Font size
*/
hunit size;
- unsigned char font[NLanguage];
- unsigned char ratio[NLanguage];
- signed char space[NLanguage]; /* 자간 */
unsigned char color[2];
+ unsigned char font;
+ char space; /* 자간 */
+ unsigned char ratio;
unsigned char shade;
unsigned char attr;