[Libreoffice-commits] core.git: xmloff/source

Chr. Rossmanith ChrRossmanith at gmx.de
Wed Apr 10 01:31:55 PDT 2013


 xmloff/source/draw/ximpshap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7bcba4c910fa7eecf256a05a1f274f7b253e5fc5
Author: Chr. Rossmanith <ChrRossmanith at gmx.de>
Date:   Tue Apr 9 21:39:38 2013 +0200

    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>

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 @@ 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() )


More information about the Libreoffice-commits mailing list