diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-16 14:02:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 08:58:46 +0200 |
commit | 96c85e7d107ad0d79295349f01cd8578ce7daeba (patch) | |
tree | c205fda67414559b325ab94b8e8dfff753d9ee4c /hwpfilter/source/hwpfile.h | |
parent | 61bfcf16dc6e4cedcd82b51a646b89909f035f2d (diff) |
loplugin:useuniqueptr in hwpfilter
Change-Id: Id276015425ea7de3cf55b9ef21b4e7ce54c2ce47
Diffstat (limited to 'hwpfilter/source/hwpfile.h')
-rw-r--r-- | hwpfilter/source/hwpfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h index dc170226ea22..0f569d358257 100644 --- a/hwpfilter/source/hwpfile.h +++ b/hwpfilter/source/hwpfile.h @@ -273,7 +273,7 @@ class DLLEXPORT HWPFile unsigned char linenumber; int info_block_len; int error_code; - OlePicture *oledata; + std::unique_ptr<OlePicture> oledata; unsigned char scratch[SAL_MAX_UINT16]; int readdepth; @@ -281,7 +281,7 @@ class DLLEXPORT HWPFile /* hwp 파일 이름 */ int m_nCurrentPage; int m_nMaxSettedPage; - HIODev *hiodev; + std::unique_ptr<HIODev> hiodev; // read hwp contents HWPInfo _hwpInfo; HWPFont _hwpFont; |