diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:06:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:25 +0100 |
commit | 51ec44fe04de4cad43a6bbd8dae4411a763c1e7e (patch) | |
tree | a1cd4bde7d2e1888ecb2287a9060aa7d045f44ef /sd/source/filter/ppt/propread.cxx | |
parent | 8dee9e90f76b5b0906520f4eccde7ae4897c1c41 (diff) |
Clean up C-style casts from pointers to void
Change-Id: I57277cd1356a99ee7c806d84a9446936d13a87c0
Diffstat (limited to 'sd/source/filter/ppt/propread.cxx')
-rw-r--r-- | sd/source/filter/ppt/propread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx index 96466d08c1d8..18ff39048dc4 100644 --- a/sd/source/filter/ppt/propread.cxx +++ b/sd/source/filter/ppt/propread.cxx @@ -57,7 +57,7 @@ PropEntry& PropEntry::operator=(const PropEntry& rPropEntry) void PropItem::Clear() { Seek( STREAM_SEEK_TO_BEGIN ); - delete[] (sal_uInt8*)SwitchBuffer(); + delete[] static_cast<sal_uInt8*>(SwitchBuffer()); } static sal_Int32 lcl_getMaxSafeStrLen(sal_uInt32 nSize) @@ -175,7 +175,7 @@ PropItem& PropItem::operator=( PropItem& rPropItem ) if ( this != &rPropItem ) { Seek( STREAM_SEEK_TO_BEGIN ); - delete[] (sal_uInt8*)SwitchBuffer(); + delete[] static_cast<sal_uInt8*>(SwitchBuffer()); mnTextEnc = rPropItem.mnTextEnc; sal_uInt32 nItemPos = rPropItem.Tell(); |