From a6e2a8f737b08e861f7e37f285b8ce33ec95b19e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 May 2014 10:25:28 +0200 Subject: [PATCH] cid#706965 Uncaught exception Change-Id: I8e21e567459d39b454264603ca8e6a4d5cd79356 --- sc/source/ui/vba/vbahyperlink.cxx | 2 +- sc/source/ui/vba/vbahyperlink.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sc/source/ui/vba/vbahyperlink.cxx b/sc/source/ui/vba/vbahyperlink.cxx index 71c75faefbb1..0958fef78550 100644 --- a/sc/source/ui/vba/vbahyperlink.cxx +++ b/sc/source/ui/vba/vbahyperlink.cxx @@ -31,7 +31,7 @@ using namespace ::ooo::vba; using namespace ::com::sun::star; ScVbaHyperlink::ScVbaHyperlink( const uno::Sequence< uno::Any >& rArgs, - const uno::Reference< uno::XComponentContext >& rxContext ) throw (lang::IllegalArgumentException) : + const uno::Reference< uno::XComponentContext >& rxContext ) throw (lang::IllegalArgumentException, uno::RuntimeException) : HyperlinkImpl_BASE( getXSomethingFromArgs< XHelperInterface >( rArgs, 0 ), rxContext ), mxCell( getXSomethingFromArgs< table::XCell >( rArgs, 1, false ) ), mnType( office::MsoHyperlinkType::msoHyperlinkRange ) diff --git a/sc/source/ui/vba/vbahyperlink.hxx b/sc/source/ui/vba/vbahyperlink.hxx index 117b87f915f3..45991a25624f 100644 --- a/sc/source/ui/vba/vbahyperlink.hxx +++ b/sc/source/ui/vba/vbahyperlink.hxx @@ -34,7 +34,7 @@ class ScVbaHyperlink : public HyperlinkImpl_BASE public: ScVbaHyperlink( const css::uno::Sequence< css::uno::Any >& rArgs, - const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::lang::IllegalArgumentException); + const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); ScVbaHyperlink( const css::uno::Reference< ov::XHelperInterface >& rxAnchor,