summaryrefslogtreecommitdiff
path: root/rsc/source/res/rscmgr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:05:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:24 +0100
commitcf54f2a10f128cf5d79397911b5be710e7081963 (patch)
treecbaf1036cfca3572cb5d7b1df7c2f46de99168cb /rsc/source/res/rscmgr.cxx
parentd963fd84256081ce6a2e0ab1e9c0516cfb0b38b9 (diff)
Clean up C-style casts from pointers to void
Change-Id: I85d6761e72ba2f67a1d67a94cae674cbb271b43f
Diffstat (limited to 'rsc/source/res/rscmgr.cxx')
-rw-r--r--rsc/source/res/rscmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/res/rscmgr.cxx b/rsc/source/res/rscmgr.cxx
index 086eb7f1ebdd..1f8e941d079f 100644
--- a/rsc/source/res/rscmgr.cxx
+++ b/rsc/source/res/rscmgr.cxx
@@ -44,7 +44,7 @@ RSCINST RscMgr::Create( RSCINST * pInst, const RSCINST & rDflt, bool bOwnClass )
if( !pInst )
{
aInst.pClass = this;
- aInst.pData = (CLASS_DATA) rtl_allocateMemory( Size() );
+ aInst.pData = static_cast<CLASS_DATA>(rtl_allocateMemory( Size() ));
}
else
aInst = *pInst;