Kaydet (Commit) 78f7d7bc authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#737636 Uncaught exception

Change-Id: I80d01d49cd5198c4be92b0573f526fb0c190eda2
üst dd19af60
...@@ -87,7 +87,8 @@ public: ...@@ -87,7 +87,8 @@ public:
throw(::com::sun::star::uno::RuntimeException); throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setReferencePosition( virtual void SAL_CALL setReferencePosition(
const ::com::sun::star::table::CellAddress& aReferencePosition ) const ::com::sun::star::table::CellAddress& aReferencePosition )
throw(::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Int32 SAL_CALL getType() throw(::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getType() throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setType( sal_Int32 nType ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setType( sal_Int32 nType ) throw(::com::sun::star::uno::RuntimeException);
......
...@@ -280,7 +280,7 @@ table::CellAddress SAL_CALL ScNamedRangeObj::getReferencePosition() ...@@ -280,7 +280,7 @@ table::CellAddress SAL_CALL ScNamedRangeObj::getReferencePosition()
} }
void SAL_CALL ScNamedRangeObj::setReferencePosition( const table::CellAddress& aReferencePosition ) void SAL_CALL ScNamedRangeObj::setReferencePosition( const table::CellAddress& aReferencePosition )
throw(uno::RuntimeException) throw (uno::RuntimeException, std::exception)
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
ScAddress aPos( (SCCOL)aReferencePosition.Column, (SCROW)aReferencePosition.Row, aReferencePosition.Sheet ); ScAddress aPos( (SCCOL)aReferencePosition.Column, (SCROW)aReferencePosition.Row, aReferencePosition.Sheet );
......
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