[Libreoffice-commits] core.git: forms/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 3 17:32:45 UTC 2020
forms/source/component/clickableimage.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fd670f52523e3a4dd51afe116b0f6ce90ce0d2fe
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu Dec 3 13:16:38 2020 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Dec 3 18:32:06 2020 +0100
Simplify code in forms/clickableimage
following 07be45d03f80fa681c697ca9f5a13084a81c7a26
tdf#46579: fix form fields 'Image Button' in Forms
urls have this form:
.uno:FormController/moveToFirst
.uno:FormController/moveToPrev
etc.
So we must use these links for hyperlinks
+ interceptor with ControlFeatureInterception
Change-Id: I2cbbfeac9ed65420f11f21a30e1a1f7cb2d70850
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107158
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index 431506adbf1f..6c5c80313251 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -311,7 +311,7 @@ namespace frm
}
else
{
- URL aHyperLink = m_pFeatureInterception->getTransformer().getStrictURLFromAscii( OUStringToOString(aURL.Complete, RTL_TEXTENCODING_ASCII_US).getStr() );
+ URL aHyperLink = m_pFeatureInterception->getTransformer().getStrictURL(aURL.Complete);
Reference< XDispatch > xDisp = m_pFeatureInterception->queryDispatch(aHyperLink);
More information about the Libreoffice-commits
mailing list