diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-23 21:05:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-23 21:30:45 +0200 |
commit | 51906611abb53e8a22f2d460964e87b0b399d684 (patch) | |
tree | fc35b485a564622b53e58858fd10c4aab33f42a0 /basic/source/sbx/sbxbase.cxx | |
parent | a7498603d8b532a1560c3ab816ddb941ad472945 (diff) |
basic: move SbxAppData to a BasicDLL member
... so it is deleted by ~SfxApplication.
Change-Id: I161bd92eb9b5082d1fdeea603921d0372a4d97e6
Diffstat (limited to 'basic/source/sbx/sbxbase.cxx')
-rw-r--r-- | basic/source/sbx/sbxbase.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx index 89cb73564f65..c9ec487f5ebe 100644 --- a/basic/source/sbx/sbxbase.cxx +++ b/basic/source/sbx/sbxbase.cxx @@ -32,14 +32,11 @@ TYPEINIT0(SbxBase) -namespace +SbxAppData::SbxAppData() + : eSbxError(SbxERR_OK) + , pBasicFormater(0) + , eBasicFormaterLangType(LANGUAGE_DONTKNOW) { - class theSbxAppData : public rtl::Static<SbxAppData, theSbxAppData> {}; -} - -SbxAppData& GetSbxData_Impl() -{ - return theSbxAppData::get(); } SbxAppData::~SbxAppData() |