diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-03-02 17:01:52 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-05 10:44:54 +0200 |
commit | db74590950afc8def36a42abae786be5ebad85d9 (patch) | |
tree | 37f42727817cf781f7f1f3d5571bff02128364bd /hwpfilter/source/hwpread.cxx | |
parent | 0847fd63d773732ff3e441ef868957c55760d69a (diff) |
Kill LinkedList in hwpfilter
Diffstat (limited to 'hwpfilter/source/hwpread.cxx')
-rw-r--r-- | hwpfilter/source/hwpread.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index b67b814fe211..db905f0c8986 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -28,7 +28,7 @@ #include "precompile.h" -#include "list.hxx" +#include <list> #include "hwpfile.h" #include "hbox.h" @@ -294,7 +294,7 @@ int TxtBox::Read(HWPFile & hwpf) } if (ncell == 1) style.cell = &cell[0]; - plists = new LinkedList < HWPPara >[ncell]; + plists = new std::list < HWPPara* >[ncell]; for (ii = 0; ii < ncell; ii++) hwpf.ReadParaList(plists[ii]); // caption @@ -342,7 +342,7 @@ int TxtBox::Read(HWPFile & hwpf) } } for( ii = 0 ; ii < ncell ; ii++ ){ - tbl->cells.insert(pArr[ii]); + tbl->cells.push_back(pArr[ii]); } tbl->box = this; hwpf.AddTable(tbl); |