summaryrefslogtreecommitdiff
path: root/starmath/inc/smmod.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:07:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:26 +0100
commit8b2779bf61993ead742a95f3abda5d96a7a86644 (patch)
tree1db4619afe5f8a571f94dc3172dde7dadcaee401 /starmath/inc/smmod.hxx
parent7eeabbca710d387e462043afdc3d8af4e28b2123 (diff)
Clean up C-style casts from pointers to void
Change-Id: Ia1facd79ccfa142412c833bded0d65b50e71d961
Diffstat (limited to 'starmath/inc/smmod.hxx')
-rw-r--r--starmath/inc/smmod.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx
index a49d8cad0f89..7d26cd9d8425 100644
--- a/starmath/inc/smmod.hxx
+++ b/starmath/inc/smmod.hxx
@@ -140,7 +140,7 @@ public:
virtual SfxTabPage* CreateTabPage( sal_uInt16 nId, vcl::Window* pParent, const SfxItemSet& rSet ) SAL_OVERRIDE;
};
-#define SM_MOD() ( *(SmModule**) GetAppData(SHL_SM) )
+#define SM_MOD() ( *reinterpret_cast<SmModule**>(GetAppData(SHL_SM)) )
#endif // INCLUDED_STARMATH_INC_SMMOD_HXX