diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:07:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:27 +0100 |
commit | 2828d92eee63a4a5306ef64482bc7d1db3459406 (patch) | |
tree | 0fe6e09f55f278bf9c32d36e9375fb7258b6ed0a /sw/inc/swmodule.hxx | |
parent | 85f28ec44a2c169c91dac9346e9c71feda6a6cab (diff) |
Clean up C-style casts from pointers to void
Change-Id: I2ec58d0bfe13fae4fc2141f9b017b5a72e0ba2c2
Diffstat (limited to 'sw/inc/swmodule.hxx')
-rw-r--r-- | sw/inc/swmodule.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index 0750261574ac..dfcc4b189a30 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -262,7 +262,7 @@ inline void SwModule::SetLngSvcEvtListener( // Access to SwModule, the View and the shell. -#define SW_MOD() ( *(SwModule**) GetAppData(SHL_WRITER)) +#define SW_MOD() ( *reinterpret_cast<SwModule**>(GetAppData(SHL_WRITER))) SW_DLLPUBLIC SwView* GetActiveView(); SW_DLLPUBLIC SwWrtShell* GetActiveWrtShell(); |