Kaydet (Commit) 76fe5bdd authored tarafından jan Iversen's avatar jan Iversen

iOS, make sure SfxApplication::GetOrCreate() is called

For some reason SfxApplication::GetOrCreate() was never called, this leads
to problems when opening documents (reference to shared pointer).

Adding dummy call to SfxApplication::GetOrCreate() to make sure the list
contains at least one entry.

Change-Id: Ic8848c17efae5a0a38c9e9f7299a5f36f69aef31
üst fa583290
......@@ -3593,6 +3593,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
// there might be more elegant ways to get InitVCL() called, but
// this one works :-)
InitVCL();
SfxApplication::GetOrCreate();
#endif
if (eStage == PRE_INIT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment