summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorMichael Stahl <mst@apache.org>2011-09-17 21:39:30 +0000
committerMichael Stahl <mst@apache.org>2011-09-17 21:39:30 +0000
commita38ca8647f8199a0aade3579747437d9a68e51bc (patch)
treeddf5d333df55abc62ed224bc4d4b7cf6cd9c4076 /hwpfilter
parent346262426c0e2aa8762c2c2ad9c9d561b7477f55 (diff)
sw34bf06: #i117417#: fix array subscripts
# HG changeset patch # User Michael Stahl <mst@openoffice.org> # Date 1304007192 0 # Node ID c2ceb432950c99187e6924defb187fbf049d76cc # Parent 2f76e8667395fe1e0c62c7203593ea63c1f0ce3a
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpreader.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 0701e6ec72f6..bbef917d04ff 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -385,19 +385,19 @@ void HwpReader::makeMeta()
rchars((hconv(hwpinfo->summary.keyword[1], gstr)));
rendEl(ascii("meta:keyword"));
}
- if (hwpinfo->summary.keyword[2][0])
+ if (hwpinfo->summary.etc[0][0])
{
rstartEl(ascii("meta:keyword"), rList);
rchars((hconv(hwpinfo->summary.etc[0], gstr)));
rendEl(ascii("meta:keyword"));
}
- if (hwpinfo->summary.etc[0][0])
+ if (hwpinfo->summary.etc[1][0])
{
rstartEl(ascii("meta:keyword"), rList);
rchars((hconv(hwpinfo->summary.etc[1], gstr)));
rendEl(ascii("meta:keyword"));
}
- if (hwpinfo->summary.etc[1][0])
+ if (hwpinfo->summary.etc[2][0])
{
rstartEl(ascii("meta:keyword"), rList);
rchars((hconv(hwpinfo->summary.etc[2], gstr)));