summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-04-30 12:47:00 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-05-13 19:51:51 +0200
commitca35a204bb19ccba00648418ac1bdc11eb56183b (patch)
tree3190c09046621672436fa7ea32c2f7c76946f826
parent871eeb3b99d32564ff5266d4fe588c0652db7d00 (diff)
Load explorerframe.dll at startup
Change-Id: I8d129a4af589cd2b6af446e56309b51b79f6fb68
-rw-r--r--desktop/source/app/app.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index c83d424f8a30..5d7a629453b6 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -119,6 +119,7 @@
#include <svtools/accessibilityoptions.hxx>
#include <svtools/apearcfg.hxx>
#include <vcl/graphicfilter.hxx>
+#include <osl/module.hxx>
#include "langselect.hxx"
@@ -439,6 +440,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()