summaryrefslogtreecommitdiff
path: root/hwpfilter/source/htags.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2012-07-24 11:36:17 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-07-24 11:37:41 +0200
commit5a243f140975167aa5c42c95b30edb1cdb1ea639 (patch)
treed0f3d0512c06692c7e818cf20288e2514e4c736b /hwpfilter/source/htags.cxx
parente5762c8488e233ac7de394d631202d452b1c92a4 (diff)
hwpfilter: improve text import and error handling
Change-Id: Ib74b96200c9d57f55fc0d32b638601c64e7eb6fe
Diffstat (limited to 'hwpfilter/source/htags.cxx')
-rw-r--r--hwpfilter/source/htags.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/hwpfilter/source/htags.cxx b/hwpfilter/source/htags.cxx
index 8bab8da1b1e2..938df44de989 100644
--- a/hwpfilter/source/htags.cxx
+++ b/hwpfilter/source/htags.cxx
@@ -24,7 +24,6 @@
#include "hwplib.h"
#include "hwpfile.h"
#include "htags.h"
-#include "himgutil.h"
bool HyperText::Read(HWPFile & hwpf)
{
@@ -59,11 +58,6 @@ EmPicture::EmPicture(size_t tsize)
#endif
EmPicture::~EmPicture(void)
{
-// clear temporary image file
- char *fname = (char *) GetEmbImgname(this);
-
- if (fname && access(fname, 0) == 0)
- unlink(fname);
if (data)
delete[]data;
};