From db74590950afc8def36a42abae786be5ebad85d9 Mon Sep 17 00:00:00 2001 From: Szabolcs Dezsi Date: Fri, 2 Mar 2012 17:01:52 +0100 Subject: Kill LinkedList in hwpfilter --- hwpfilter/source/hwpread.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hwpfilter/source/hwpread.cxx') 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 #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); -- cgit