summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/htags.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/htags.h')
-rw-r--r--hwpfilter/source/htags.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/hwpfilter/source/htags.h b/hwpfilter/source/htags.h
index 7265f5d11742..d662a002ecb3 100644
--- a/hwpfilter/source/htags.h
+++ b/hwpfilter/source/htags.h
@@ -21,6 +21,7 @@
#define INCLUDED_HWPFILTER_SOURCE_HTAGS_H
#include <memory>
+#include <vector>
#ifdef _WIN32
#include <objidl.h>
#endif
@@ -34,7 +35,7 @@ struct EmPicture
size_t size;
char name[16];
char type[16];
- std::unique_ptr<uchar[]> data;
+ std::vector<uchar> data;
explicit EmPicture(size_t size);
~EmPicture(void);
@@ -64,8 +65,9 @@ struct OlePicture
IStorage* pis;
#endif
explicit OlePicture(int tsize);
+#ifdef _WIN32
~OlePicture(void);
-
+#endif
void Read(HWPFile& hwpf);
};
#endif // INCLUDED_HWPFILTER_SOURCE_HTAGS_H