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>
This commit is contained in:
committed by
Caolán McNamara
parent
63d46499b0
commit
7bcba4c910
@@ -365,7 +365,7 @@ void SdXMLShapeContext::EndElement()
|
|||||||
OUString sLink( "Hyperlink" );
|
OUString sLink( "Hyperlink" );
|
||||||
if ( xProp.is() && xProp->getPropertySetInfo()->hasPropertyByName( sLink ) )
|
if ( xProp.is() && xProp->getPropertySetInfo()->hasPropertyByName( sLink ) )
|
||||||
xProp->setPropertyValue( sLink, uno::Any( msHyperlink ) );
|
xProp->setPropertyValue( sLink, uno::Any( msHyperlink ) );
|
||||||
Reference< XEventsSupplier > xEventsSupplier( mxShape, UNO_QUERY_THROW );
|
Reference< XEventsSupplier > xEventsSupplier( mxShape, UNO_QUERY );
|
||||||
const OUString sBookmark( "Bookmark" );
|
const OUString sBookmark( "Bookmark" );
|
||||||
|
|
||||||
if( xEventsSupplier.is() )
|
if( xEventsSupplier.is() )
|
||||||
|
Reference in New Issue
Block a user