diff options
author | jan Iversen <jani@libreoffice.org> | 2017-11-12 12:27:34 +0100 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2017-11-12 12:59:28 +0100 |
commit | 76fe5bddccfb9e27af1319678dfe3e287e124b79 (patch) | |
tree | d6769a1c01759c0bfd8715bba172390c491d033e /desktop | |
parent | fa58329060a2ab8a674c9ffa619943bfbeebd984 (diff) |
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
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 58fd38013290..b7874dc54b2e 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -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) |