diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-22 23:39:23 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-25 15:12:14 +0200 |
commit | cd2fa9783d2c46f1cbd246acd5b683c386f71315 (patch) | |
tree | 778192b441eb7727ee02c3df9ccdfdf0feb9228b /sd | |
parent | 31300a1b6f84aaf548af421037f9dab5e66fe48a (diff) |
callcatcher: remove unused method
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/sddll.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/app/sddll.cxx | 22 |
2 files changed, 0 insertions, 23 deletions
diff --git a/sd/inc/sddll.hxx b/sd/inc/sddll.hxx index b59114de95c3..70b6b2ce56ff 100644 --- a/sd/inc/sddll.hxx +++ b/sd/inc/sddll.hxx @@ -67,7 +67,6 @@ public: // DLL-init/exit-code must be linked to the DLL only static void Init(); // called directly after loading the DLL - static void Exit(); // called directly befor unloading the DLL }; diff --git a/sd/source/ui/app/sddll.cxx b/sd/source/ui/app/sddll.cxx index cdc396b2093a..16c99a896a28 100644 --- a/sd/source/ui/app/sddll.cxx +++ b/sd/source/ui/app/sddll.cxx @@ -128,26 +128,4 @@ void SdDLL::Init() SdrObjFactory::InsertMakeUserDataHdl(LINK(&aSdObjectFactory, SdObjectFactory, MakeUserData)); } - - -/************************************************************************* -|* -|* Exit -|* -\************************************************************************/ - -void SdDLL::Exit() -{ - // called directly befor unloading the DLL - // do whatever you want, Sd-DLL is accessible - - // Objekt-Factory austragen - SdrObjFactory::RemoveMakeUserDataHdl(LINK(&aSdObjectFactory, SdObjectFactory, MakeUserData)); - - // the SdModule must be destroyed - SdModule** ppShlPtr = (SdModule**) GetAppData(SHL_DRAW); - delete (*ppShlPtr); - (*ppShlPtr) = NULL; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |