diff options
Diffstat (limited to 'basic/source/runtime/basrdll.cxx')
-rw-r--r-- | basic/source/runtime/basrdll.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/basic/source/runtime/basrdll.cxx b/basic/source/runtime/basrdll.cxx index 9086a05079f2..167433c0af75 100644 --- a/basic/source/runtime/basrdll.cxx +++ b/basic/source/runtime/basrdll.cxx @@ -28,6 +28,7 @@ #include <basic/basrdll.hxx> #include <basrid.hxx> #include <sb.hrc> +#include <sbxbase.hxx> struct BasicDLL::Impl { @@ -35,11 +36,13 @@ struct BasicDLL::Impl bool bBreakEnabled; ::boost::scoped_ptr<ResMgr> pBasResMgr; + ::boost::scoped_ptr<SbxAppData> pSbxAppData; Impl() : bDebugMode(false) , bBreakEnabled(true) , pBasResMgr(ResMgr::CreateResMgr("sb", Application::GetSettings().GetUILanguageTag())) + , pSbxAppData(new SbxAppData) { } }; @@ -102,4 +105,9 @@ void BasicDLL::BasicBreak() } } +SbxAppData& GetSbxData_Impl() +{ + return *BASIC_DLL()->m_pImpl->pSbxAppData; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |