diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-05-22 16:41:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-05-23 12:35:54 +0100 |
commit | 454e1756a60d9b8eb4f9152b93fe560777a9e01a (patch) | |
tree | 0bb38131e1dea7c428fe2826505dec6bb960bf44 /starmath/inc/smdll.hxx | |
parent | 1adb8f26cb9eeb71fc73029292257258ade7142e (diff) |
make this a non-leaky singleton
Diffstat (limited to 'starmath/inc/smdll.hxx')
-rw-r--r-- | starmath/inc/smdll.hxx | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/starmath/inc/smdll.hxx b/starmath/inc/smdll.hxx index 324f3308608b..be46c1dc8ad0 100644 --- a/starmath/inc/smdll.hxx +++ b/starmath/inc/smdll.hxx @@ -28,21 +28,10 @@ #ifndef SMDLL_HXX #define SMDLL_HXX -#include <tools/resid.hxx> -#include <sfx2/sfxdefs.hxx> -#include "smmod.hxx" - -class SmData; -class SfxMedium; -class SfxFilter; - -class SmDLL +namespace SmGlobals { - static bool bInitialized; -public: - static void Init(); - static void Exit(); -}; + void ensure(); +} #endif |