summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:06:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:24 +0100
commit77d1a61c95779728799277565de3d6528ddc594b (patch)
tree0b04a079a0a47e2c2efaf6e2318cf447cdff0096 /sc/inc
parenta98887d9b82327d4183d24a56ec0636953515aa3 (diff)
Clean up C-style casts from pointers to void
Change-Id: Ie42848cc9f2d74beeb76e1c5e49ef40b99f6d5f6
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/scmod.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index 7ba6021944ee..2673e2f1ad7d 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -263,7 +263,7 @@ SC_DLLPUBLIC void SetAppOptions ( const ScAppOptions& rO
void PopAnyRefDlg();
};
-#define SC_MOD() ( *(ScModule**) GetAppData(SHL_CALC) )
+#define SC_MOD() ( *reinterpret_cast<ScModule**>(GetAppData(SHL_CALC)) )
void global_InitAppOptions();