[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - forms/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 5 11:04:32 UTC 2021


 forms/source/component/clickableimage.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2a27ff2190a40afe806bbf3577b641390047e209
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu Feb 4 19:55:55 2021 +0100
Commit:     Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Fri Feb 5 12:03:58 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>
    (cherry picked from commit a444a8dd40cf7035c44ee8ef168be2b3e3144c86)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110369
    Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>

diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index bc2a2ba739e5..661f0c480822 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().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