From 6d6fad522a2cd6a2959ea774969a86288f5a3cb7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 24 Oct 2019 15:43:06 +0200 Subject: Introduce OStringChar ...similar to OUStringChar, to be used in string concatenation expressions. And enable the corresponding loplugin:stringadd check, and fix its findings. Change-Id: I35ebb2253ba82bda6c98ae6ebd2ad4f27cf9abf9 Reviewed-on: https://gerrit.libreoffice.org/81456 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- desktop/source/deployment/registry/component/dp_component.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 54ac54daa987..cfecf6927496 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -919,10 +919,10 @@ void BackendImpl::unorc_flush( Reference const & xCmdEnv ) OString buf2 = "ORIGIN=" + osOrigin + - OString(LF) + + OStringChar(LF) + "UNO_SERVICES=?$ORIGIN/" + OUStringToOString( sNativeRDB, RTL_TEXTENCODING_ASCII_US ) + - OString(LF); + OStringChar(LF); const Reference xData( ::xmlscript::createInputStream( -- cgit