summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-04-09 21:39:38 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-04-10 08:31:36 +0000
commit7bcba4c910fa7eecf256a05a1f274f7b253e5fc5 (patch)
tree5da58d45242545063fd7a5a1e48567cc53748391
parent63d46499b08092473e52635dbd2175c72f7896af (diff)
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@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--xmloff/source/draw/ximpshap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index f853c3ddc895..4d6f0ebc0e76 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -365,7 +365,7 @@ void SdXMLShapeContext::EndElement()
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() )