summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:07:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:27 +0100
commit85f28ec44a2c169c91dac9346e9c71feda6a6cab (patch)
tree59313be197397c62a2b8f8b8829a65023a20f17e /include
parentClean up C-style casts from pointers to void (diff)
downloadcore-85f28ec44a2c169c91dac9346e9c71feda6a6cab.tar.gz
core-85f28ec44a2c169c91dac9346e9c71feda6a6cab.zip
Clean up C-style casts from pointers to void
Change-Id: I5f4029fc583952ae6392dbf2d478155982ccecef
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdetc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdetc.hxx b/include/svx/svdetc.hxx
index ee9e0e5bef6c..27683824e12b 100644
--- a/include/svx/svdetc.hxx
+++ b/include/svx/svdetc.hxx
@@ -248,7 +248,7 @@ inline SdrGlobalData& GetSdrGlobalData()
if (*ppAppData==NULL) {
*ppAppData=new SdrGlobalData;
}
- return *((SdrGlobalData*)*ppAppData);
+ return *static_cast<SdrGlobalData*>(*ppAppData);
}
namespace sdr