[PATCH libreoffice-4-0] fdo#39066: using UNO_QUERY instead of UNO_QUERY_THROW displa...

Caolán McNamara (via_Code_Review) gerrit at gerrit.libreoffice.org
Wed Apr 10 01:32:50 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3303

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/03/3303/1

fdo#39066: using UNO_QUERY instead of UNO_QUERY_THROW displays hyperlinks

Change-Id: Iafa9e273c009fe0772a9401b47b51738dc235a13
Reviewed-on: https://gerrit.libreoffice.org/3296
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
(cherry picked from commit 7bcba4c910fa7eecf256a05a1f274f7b253e5fc5)
---
M xmloff/source/draw/ximpshap.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 08d8decf..e52736c 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -367,7 +367,7 @@
         rtl::OUString sLink(  "Hyperlink"  );
         if ( xProp.is() && xProp->getPropertySetInfo()->hasPropertyByName( sLink ) )
             xProp->setPropertyValue( sLink, uno::Any( msHyperlink ) );
-        Reference< XEventsSupplier > xEventsSupplier( mxShape, UNO_QUERY_THROW );
+        Reference< XEventsSupplier > xEventsSupplier( mxShape, UNO_QUERY );
         const OUString sBookmark(  "Bookmark"  );
 
         if( xEventsSupplier.is() )

-- 
To view, visit https://gerrit.libreoffice.org/3303
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iafa9e273c009fe0772a9401b47b51738dc235a13
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Caolán McNamara <caolanm at redhat.com>



More information about the LibreOffice mailing list