summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/hwpfile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hwpfile.cxx')
-rw-r--r--hwpfilter/source/hwpfile.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx
index db7ed1156b08..d4457a5f1a7f 100644
--- a/hwpfilter/source/hwpfile.cxx
+++ b/hwpfilter/source/hwpfile.cxx
@@ -307,8 +307,7 @@ void HWPFile::TagsRead()
}
break;
case FILETAG_OLE_OBJECT:
- if (oledata)
- delete oledata;
+ delete oledata;
oledata = new OlePicture(size);
oledata->Read(*this);
break;