From 73ba9a65834455cba992f1661222f881649af448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 4 Oct 2024 12:51:32 +0100 Subject: [PATCH] use ConvertStringToHTML for the URL too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iee10356c6311c4ac791dc59081ca2a208d3c0710 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174505 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- editeng/source/editeng/impedit4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 0417e8f3f4ec..8ffb3faf47b8 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -1106,7 +1106,7 @@ OString ImpEditEngine::GetSimpleHtml() const OUString aRTFStr = EditDoc::GetParaAsString(pNode, nIndex, nIndex + rTextPortion.GetLen()); if (pURLField) - aOutput.append("GetURL().toUtf8() + "\">"); + aOutput.append("GetURL()) + "\">"); aOutput.append(HTMLOutFuncs::ConvertStringToHTML(aRTFStr));