You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2011/09/18 00:39:30 UTC
svn commit: r1172114 -
/incubator/ooo/trunk/main/hwpfilter/source/hwpreader.cxx
Author: mst
Date: Sat Sep 17 22:39:30 2011
New Revision: 1172114
URL: http://svn.apache.org/viewvc?rev=1172114&view=rev
Log:
sw34bf06: #i117417#: fix array subscripts
# HG changeset patch
# User Michael Stahl <ms...@openoffice.org>
# Date 1304007192 0
# Node ID c2ceb432950c99187e6924defb187fbf049d76cc
# Parent 2f76e8667395fe1e0c62c7203593ea63c1f0ce3a
Modified:
incubator/ooo/trunk/main/hwpfilter/source/hwpreader.cxx
Modified: incubator/ooo/trunk/main/hwpfilter/source/hwpreader.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/hwpfilter/source/hwpreader.cxx?rev=1172114&r1=1172113&r2=1172114&view=diff
==============================================================================
--- incubator/ooo/trunk/main/hwpfilter/source/hwpreader.cxx (original)
+++ incubator/ooo/trunk/main/hwpfilter/source/hwpreader.cxx Sat Sep 17 22:39:30 2011
@@ -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)));