[PATCH] fdo#39066: using UNO_QUERY instead of UNO_QUERY_THROW displa...
Christina Roßmanith (via_Code_Review)
gerrit at gerrit.libreoffice.org
Tue Apr 9 12:40:25 PDT 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3296
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/96/3296/1
fdo#39066: using UNO_QUERY instead of UNO_QUERY_THROW displays hyperlinks
Change-Id: Iafa9e273c009fe0772a9401b47b51738dc235a13
---
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 f853c3d..4d6f0eb 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -365,7 +365,7 @@
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/3296
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iafa9e273c009fe0772a9401b47b51738dc235a13
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christina Roßmanith <ChrRossmanith at web.de>
More information about the LibreOffice
mailing list