summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpread.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 18:47:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:48 +0100
commit552efce640f31130d8e598b1381038b565c81584 (patch)
tree189c52f0f430457e898abb3d3f488f8cd09026a4 /hwpfilter/source/hwpread.cxx
parentb7c27fef4ee42c17bde6aa05dea583e31d5b32fe (diff)
Some more loplugin:cstylecast: hwpfilter
Change-Id: I0ba3fe95ab6ef317166b286531a718287308f62f
Diffstat (limited to 'hwpfilter/source/hwpread.cxx')
-rw-r--r--hwpfilter/source/hwpread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index 5763a5b757b9..d72e919556eb 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -432,7 +432,7 @@ bool Picture::Read(HWPFile & hwpf)
hwpf.Read1b(follow, follow_block_size);
if (pictype == PICTYPE_DRAW)
{
- hmem = new HMemIODev((char *) follow, follow_block_size);
+ hmem = new HMemIODev(reinterpret_cast<char *>(follow), follow_block_size);
LoadDrawingObjectBlock(this);
style.cell = picinfo.picdraw.hdo;
delete hmem;