diff options
| author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-04-09 21:39:38 +0200 |
|---|---|---|
| committer | Noel Power <noel.power@suse.com> | 2013-04-10 08:41:20 +0000 |
| commit | 1a29c1bb23f76ba3799dc2a77b4f678ca0ad109d (patch) | |
| tree | 88d9423a9885388f6734795f3e4e63d864dc68ad | |
| parent | d101eac309d15fdf6031be898823b3f8d1e4911a (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>
(cherry picked from commit 7bcba4c910fa7eecf256a05a1f274f7b253e5fc5)
Reviewed-on: https://gerrit.libreoffice.org/3304
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
| -rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 03f23247f2f0..3543fa5686fc 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -378,7 +378,7 @@ void SdXMLShapeContext::EndElement() 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() ) |
