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

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 5 09:33:57 UTC 2021


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

New commits:
commit 9567639d6a649cffc9f1a965a11b5b202b241179
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu Feb 4 19:55:55 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Feb 5 10:33:19 2021 +0100

    tdf#140151: revert fix for tdf#46579 which caused regression
    
    Change-Id: I48468d4cef1f4d68dab4759c8da30aead6b99e5d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110368
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

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