diff options
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/prj/globals.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/idl/source/prj/globals.cxx b/idl/source/prj/globals.cxx index f6dfeaf4188e..6786cbe82bfe 100644 --- a/idl/source/prj/globals.cxx +++ b/idl/source/prj/globals.cxx @@ -25,11 +25,11 @@ IdlDll * GetIdlApp() { - if( !(*(IdlDll**)GetAppData(SHL_IDL)) ) + if( !(*reinterpret_cast<IdlDll**>(GetAppData(SHL_IDL))) ) { - (*(IdlDll**)GetAppData(SHL_IDL)) = new IdlDll(); + (*reinterpret_cast<IdlDll**>(GetAppData(SHL_IDL))) = new IdlDll(); } - return (*(IdlDll**)GetAppData(SHL_IDL)); + return (*reinterpret_cast<IdlDll**>(GetAppData(SHL_IDL))); } IdlDll::IdlDll() |