diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/help/dp_help.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx index d121833e2d00..adc2875330f9 100644 --- a/desktop/source/deployment/registry/help/dp_help.cxx +++ b/desktop/source/deployment/registry/help/dp_help.cxx @@ -38,6 +38,7 @@ #include "comphelper/servicedecl.hxx" #include "svl/inettype.hxx" #include "unotools/pathoptions.hxx" +#include "uno/current_context.hxx" #if !defined(ANDROID) && !defined(IOS) #include <l10ntools/compilehelp.hxx> @@ -420,6 +421,10 @@ void BackendImpl::implProcessHelp( Reference< script::XInvocation > xInvocation; if( xContext.is() ) { + // Ignore the missing JRE scenario on upgrade/first-start without + // horrible end-user warnings that are ignorable,and cause grief. + Reference< XCurrentContext > xNoContext; + com::sun::star::uno::ContextLayer dummyLayer( xNoContext ); try { xInvocation = Reference< script::XInvocation >( |