diff options
-rw-r--r-- | hwpfilter/source/hbox.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h index 8be92f73023d..0dc7076a6b59 100644 --- a/hwpfilter/source/hbox.h +++ b/hwpfilter/source/hbox.h @@ -527,15 +527,16 @@ struct TCell struct Table { - Table(){}; - ~Table(){ + Table() : box(NULL) {}; + ~Table() { std::list<TCell*>::iterator it = cells.begin(); for( ; it != cells.end(); ++it) delete *it; }; + Columns columns; - Rows rows; - std::list<TCell*> cells; + Rows rows; + std::list<TCell*> cells; TxtBox *box; }; |