Kaydet (Commit) 552c8242 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1038477 Uncaught exception

Change-Id: I12ec3781f60f56798423082e2a8dd243a68e6c65
üst c8e11b48
...@@ -96,7 +96,8 @@ ScVbaNames::Add( const css::uno::Any& Name , ...@@ -96,7 +96,8 @@ ScVbaNames::Add( const css::uno::Any& Name ,
const css::uno::Any& /*RefersToLocal*/, const css::uno::Any& /*RefersToLocal*/,
const css::uno::Any& /*CategoryLocal*/, const css::uno::Any& /*CategoryLocal*/,
const css::uno::Any& RefersToR1C1, const css::uno::Any& RefersToR1C1,
const css::uno::Any& RefersToR1C1Local ) throw (css::uno::RuntimeException) const css::uno::Any& RefersToR1C1Local )
throw (css::uno::RuntimeException, std::exception)
{ {
OUString sName; OUString sName;
uno::Reference< excel::XRange > xRange; uno::Reference< excel::XRange > xRange;
......
...@@ -61,7 +61,9 @@ public: ...@@ -61,7 +61,9 @@ public:
const css::uno::Any& aRefersToLocal, const css::uno::Any& aRefersToLocal,
const css::uno::Any& aCategoryLocal, const css::uno::Any& aCategoryLocal,
const css::uno::Any& aRefersToR1C1, const css::uno::Any& aRefersToR1C1,
const css::uno::Any& aRefersToR1C1Local ) throw (css::uno::RuntimeException); const css::uno::Any& aRefersToR1C1Local )
throw (css::uno::RuntimeException,
std::exception);
virtual css::uno::Any createCollectionObject( const css::uno::Any& aSource ); virtual css::uno::Any createCollectionObject( const css::uno::Any& aSource );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment