[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - forms/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jan 16 00:47:52 UTC 2021
forms/source/component/clickableimage.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 45963cfb6b453cf18aaa7534f20c35a38975dc89
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Dec 2 00:05:14 2020 +0100
Commit: Lionel Mamane <lionel at mamane.lu>
CommitDate: Sat Jan 16 01:47:14 2021 +0100
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
+ includes https://gerrit.libreoffice.org/c/core/+/107158
Change-Id: I9cff19833d859624239ca6c76152cc88f9cbb278
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107037
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
(cherry picked from commit 07be45d03f80fa681c697ca9f5a13084a81c7a26)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107099
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack at redhat.com>
Reviewed-by: Lionel Mamane <lionel at mamane.lu>
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index 68861e42cf30..bc2a2ba739e5 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -310,9 +310,9 @@ namespace frm
}
else
{
- URL aHyperLink = m_pFeatureInterception->getTransformer().getStrictURLFromAscii( ".uno:OpenHyperlink" );
+ URL aHyperLink = m_pFeatureInterception->getTransformer().getStrictURL(aURL.Complete);
- Reference< XDispatch > xDisp = Reference< XDispatchProvider > (xFrame,UNO_QUERY_THROW)->queryDispatch(aHyperLink, OUString() , 0);
+ Reference< XDispatch > xDisp = m_pFeatureInterception->queryDispatch(aHyperLink);
if ( xDisp.is() )
{
More information about the Libreoffice-commits
mailing list