diff options
Diffstat (limited to 'hwpfilter/source/htags.cxx')
-rw-r--r-- | hwpfilter/source/htags.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/htags.cxx b/hwpfilter/source/htags.cxx index 428048812eaf..eb49626baa34 100644 --- a/hwpfilter/source/htags.cxx +++ b/hwpfilter/source/htags.cxx @@ -49,7 +49,7 @@ EmPicture::EmPicture(size_t tsize) : size(tsize >= 32 ? tsize - 32 : 0) { if (size == 0) - data = 0; + data = nullptr; else data = new uchar[size]; } @@ -79,7 +79,7 @@ bool EmPicture::Read(HWPFile & hwpf) OlePicture::OlePicture(int tsize) : signature(0) - , pis(NULL) + , pis(nullptr) { size = tsize - 4; if (size <= 0) @@ -139,7 +139,7 @@ bool OlePicture::Read(HWPFile & hwpf) } unlink(tname); #else - if (pis == 0 || hwpf.ReadBlock(pis, size) == 0) + if (pis == nullptr || hwpf.ReadBlock(pis, size) == 0) return false; #endif |