From 0dac934af887895fc67857f076e08f84af800a91 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Wed, 8 May 2019 12:13:51 +0200 Subject: Load explorerframe.dll at startup Change-Id: Idbee388aafe56bd6b607fb25b2d5d653d2c7fd60 (cherry picked from commit 6b4f38893c7a1666738b40d858b6ae3c404aee67) --- desktop/source/app/app.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'desktop') 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 #include #include +#include + #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() -- cgit