summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-05-08 12:13:51 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2021-04-09 23:21:09 +0200
commit0dac934af887895fc67857f076e08f84af800a91 (patch)
tree6570d1bdcb3f5a78ec0b13560051f8a6c60a0aca /desktop
parentremove LibreLogo from build (diff)
downloadcore-0dac934af887895fc67857f076e08f84af800a91.tar.gz
core-0dac934af887895fc67857f076e08f84af800a91.zip
Load explorerframe.dll at startup
Change-Id: Idbee388aafe56bd6b607fb25b2d5d653d2c7fd60 (cherry picked from commit 6b4f38893c7a1666738b40d858b6ae3c404aee67)
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 3fb7b6017c70..32489065c7b1 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -125,6 +125,8 @@
#include <svtools/apearcfg.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/window.hxx>
+#include <osl/module.hxx>
+
#include "langselect.hxx"
#if HAVE_FEATURE_BREAKPAD
@@ -445,6 +447,13 @@ Desktop::Desktop()
m_firstRunTimer.SetTimeout(3000); // 3 sec.
m_firstRunTimer.SetInvokeHandler(LINK(this, Desktop, AsyncInitFirstRun));
m_firstRunTimer.SetDebugName( "desktop::Desktop m_firstRunTimer" );
+
+ static ::osl::Module aMod;
+ aMod.load("explorerframe.dll");
+ if (aMod.is())
+ SAL_WARN("desktop.app", "loading explorerframe.dll successful");
+ else
+ SAL_WARN("desktop.app", "loading explorerframe.dll failed");
}
Desktop::~Desktop()