[Libreoffice-commits] core.git: forms/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Thu Feb 4 20:21:01 UTC 2021
forms/source/component/clickableimage.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a444a8dd40cf7035c44ee8ef168be2b3e3144c86
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu Feb 4 19:55:55 2021 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Feb 4 21:20:08 2021 +0100
tdf#140151: revert fix for tdf#46579 which caused regression
Change-Id: I48468d4cef1f4d68dab4759c8da30aead6b99e5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110425
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index 6c5c80313251..f46bbb562545 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -311,9 +311,9 @@ namespace frm
}
else
{
- URL aHyperLink = m_pFeatureInterception->getTransformer().getStrictURL(aURL.Complete);
+ URL aHyperLink = m_pFeatureInterception->getTransformer().getStrictURL( ".uno:OpenHyperlink" );
- Reference< XDispatch > xDisp = m_pFeatureInterception->queryDispatch(aHyperLink);
+ Reference< XDispatch > xDisp = Reference< XDispatchProvider > (xFrame,UNO_QUERY_THROW)->queryDispatch(aHyperLink, OUString() , 0);
if ( xDisp.is() )
{
More information about the Libreoffice-commits
mailing list