From ec3ffe62685f9c5e944ae0924a9963fbe016a706 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 8 Nov 2023 16:12:08 +0100 Subject: officecfg,desktop: add Office::Security::Net::AllowInsecureUNORemoteProtocol This disables the "com.sun.star.office.Acceptor" UNO service that handles the soffice "--accept" argument; now it can be disabled and locked in configuration by system administrator. Change-Id: I6747a128c3afa6a0cb351766365c8affc0b2614e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159151 Tested-by: Jenkins Reviewed-by: Michael Stahl --- desktop/source/app/appinit.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'desktop/source/app/appinit.cxx') diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index 6eca704c7fb9..51b466c6b980 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -41,6 +41,8 @@ #include #include #include + +#include #include using namespace ::com::sun::star::uno; @@ -165,7 +167,7 @@ void Desktop::createAcceptor(const OUString& aAcceptString) } else { - SAL_WARN( "desktop.app", "Acceptor could not be created"); + ::std::cerr << "UNO Remote Protocol acceptor could not be created, presumably because it has been disabled in configuration." << ::std::endl; } } -- cgit