desktop/source/lib/init.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 5acde5bcb62dc7c007c46554ec923ba73efd816f Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Wed May 17 16:09:06 2023 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu May 18 10:03:00 2023 +0200 lok: linking-api: export correct target string export target string instead of boolean so user can jump into the target using that. this is fix for: https://github.com/CollaboraOnline/online/issues/6230 Signed-off-by: Szymon Kłos <szymon.k...@collabora.com> Change-Id: Id4b1a1c65ddcb6f4d94d3939dda9124f2d10e9d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151884 Reviewed-by: Gülşah Köse <gulsah.k...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index b771b99b3b55..7da7aaad7444 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -481,7 +481,9 @@ static bool extractLinks(const uno::Reference< container::XNameAccess >& xLinks, if (bIsTarget) { - jsonText.append("true"); + jsonText.append("\""); + jsonText.append(aLink); + jsonText.append("\""); continue; } jsonText.append("{");