summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:06:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:25 +0100
commit51ec44fe04de4cad43a6bbd8dae4411a763c1e7e (patch)
treea1cd4bde7d2e1888ecb2287a9060aa7d045f44ef /sd/inc
parent8dee9e90f76b5b0906520f4eccde7ae4897c1c41 (diff)
Clean up C-style casts from pointers to void
Change-Id: I57277cd1356a99ee7c806d84a9446936d13a87c0
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/sdmod.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 250fa8e9695c..624b0a8b492e 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -193,7 +193,7 @@ private:
};
-#define SD_MOD() ( *(SdModule**) GetAppData(SHL_DRAW) )
+#define SD_MOD() ( *reinterpret_cast<SdModule**>(GetAppData(SHL_DRAW)) )
#endif // INCLUDED_SD_INC_SDMOD_HXX