From cbe3899ed9b0fb226bf84c19e6f312e587ce2c03 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Oct 2023 10:30:19 +0200 Subject: Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: jvmfwk Change-Id: I23ce970ad67047b0b22a9dda3dff047e5f59dff5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158203 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- jvmfwk/source/elements.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx index ebbf8abf0fd2..57b500c56d56 100644 --- a/jvmfwk/source/elements.cxx +++ b/jvmfwk/source/elements.cxx @@ -177,8 +177,8 @@ NodeJava::NodeJava(Layer layer): void NodeJava::load() { - static constexpr OStringLiteral sExcMsg("[Java framework] Error in function NodeJava::load" - "(elements.cxx)."); + static constexpr OString sExcMsg("[Java framework] Error in function NodeJava::load" + "(elements.cxx)."_ostr); if (SHARED == m_layer) { //we do not support yet to write into the shared installation -- cgit