summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-27 12:28:47 +0200
committerNoel Grandin <noel@peralex.com>2014-05-28 10:00:54 +0200
commite8f8daa60d360b33b22ef432dae9c01d22672cfd (patch)
treee1d79b45bbde35e41e1f79c0b406384376d61cc6 /sc
parent9116edcfa72811d19828dadd373756f0a37ef1d3 (diff)
cid#706949 Uncaught exception
Change-Id: Id04efdfc7b9890c428e08a3f841e12e631f88008
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbacomment.cxx2
-rw-r--r--sc/source/ui/vba/vbacomment.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbacomment.cxx b/sc/source/ui/vba/vbacomment.cxx
index f62e838fa6f6..d1444ff1b723 100644
--- a/sc/source/ui/vba/vbacomment.cxx
+++ b/sc/source/ui/vba/vbacomment.cxx
@@ -41,7 +41,7 @@ ScVbaComment::ScVbaComment(
const uno::Reference< XHelperInterface >& xParent,
const uno::Reference< uno::XComponentContext >& xContext,
const uno::Reference< frame::XModel >& xModel,
- const uno::Reference< table::XCellRange >& xRange ) throw( lang::IllegalArgumentException ) :
+ const uno::Reference< table::XCellRange >& xRange ) throw( lang::IllegalArgumentException, uno::RuntimeException ) :
ScVbaComment_BASE( xParent, xContext ),
mxModel( xModel, uno::UNO_SET_THROW ),
mxRange( xRange )
diff --git a/sc/source/ui/vba/vbacomment.hxx b/sc/source/ui/vba/vbacomment.hxx
index db36072643c3..9f41fb9cba8e 100644
--- a/sc/source/ui/vba/vbacomment.hxx
+++ b/sc/source/ui/vba/vbacomment.hxx
@@ -48,7 +48,7 @@ public:
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::frame::XModel >& xModel,
- const css::uno::Reference< css::table::XCellRange >& xRange ) throw ( css::lang::IllegalArgumentException );
+ const css::uno::Reference< css::table::XCellRange >& xRange ) throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException );
virtual ~ScVbaComment() {}