diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-10 18:24:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-10 18:24:23 +0100 |
commit | 55b68ad017d61f2fd4a3408632007880aabd05fe (patch) | |
tree | 904169ac3e8b6c064440b7e0f710db7a3f689543 /vcl/inc/svdata.hxx | |
parent | 4de09a9efdb62cf90ce18662852e556cf7148e14 (diff) |
Instantiate ImplSVData on demand
Change-Id: I661949a8635a2ed1a1efda77ced48a0fa9f6722e
Diffstat (limited to 'vcl/inc/svdata.hxx')
-rw-r--r-- | vcl/inc/svdata.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx index 5fb496be3d6a..683f40d908fb 100644 --- a/vcl/inc/svdata.hxx +++ b/vcl/inc/svdata.hxx @@ -300,6 +300,8 @@ struct BlendFrameCache struct ImplSVData { + ImplSVData(); + SalData* mpSalData; SalInstance* mpDefInst; // Default SalInstance Application* mpApp; // pApp @@ -339,9 +341,7 @@ struct ImplSVData Link maDeInitHook; }; -void ImplInitSVData(); void ImplDeInitSVData(); -void ImplDestroySVData(); VCL_PLUGIN_PUBLIC vcl::Window* ImplGetDefaultWindow(); VCL_PLUGIN_PUBLIC ResMgr* ImplGetResMgr(); VCL_PLUGIN_PUBLIC ResId VclResId( sal_Int32 nId ); // throws std::bad_alloc if no res mgr @@ -357,8 +357,7 @@ void ImplFreeEventHookData(); bool ImplCallPreNotify( NotifyEvent& rEvt ); -extern VCL_PLUGIN_PUBLIC ImplSVData* pImplSVData; -inline ImplSVData* ImplGetSVData() { return pImplSVData; } +VCL_PLUGIN_PUBLIC ImplSVData* ImplGetSVData(); VCL_PLUGIN_PUBLIC void ImplHideSplash(); bool ImplInitAccessBridge(); |