diff options
Diffstat (limited to 'sd/inc/sdmod.hxx')
-rw-r--r-- | sd/inc/sdmod.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx index 7293b65f3061..cb5f2c3adbaa 100644 --- a/sd/inc/sdmod.hxx +++ b/sd/inc/sdmod.hxx @@ -24,7 +24,6 @@ #include "pres.hxx" #include <sot/storage.hxx> -#include <tools/shl.hxx> #include "sddllapi.h" #include <svl/itemprop.hxx> #include <svl/lstner.hxx> @@ -192,7 +191,7 @@ private: }; -#define SD_MOD() ( *reinterpret_cast<SdModule**>(GetAppData(SHL_DRAW)) ) +#define SD_MOD() ( static_cast<SdModule*>(SfxApplication::GetModule(SfxToolsModule::Draw)) ) #endif // INCLUDED_SD_INC_SDMOD_HXX |