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

New commits:
commit 9567639d6a649cffc9f1a965a11b5b202b241179
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Thu Feb 4 19:55:55 2021 +0100
Commit:     Caolán McNamara <caol...@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 <caol...@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() )
                     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to