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

coverity#737649 Uncaught exception

Change-Id: I6ab46cc817f2858ae1a92757d8c26d6145f934b8
üst 3f94ccfe
...@@ -214,7 +214,8 @@ public: ...@@ -214,7 +214,8 @@ public:
/// XNamedRanges /// XNamedRanges
virtual void SAL_CALL addNewByName( const OUString& aName, const OUString& aContent, virtual void SAL_CALL addNewByName( const OUString& aName, const OUString& aContent,
const ::com::sun::star::table::CellAddress& aPosition, sal_Int32 nType ) const ::com::sun::star::table::CellAddress& aPosition, sal_Int32 nType )
throw(::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL addNewFromTitles( const ::com::sun::star::table::CellRangeAddress& aSource, virtual void SAL_CALL addNewFromTitles( const ::com::sun::star::table::CellRangeAddress& aSource,
::com::sun::star::sheet::Border aBorder ) ::com::sun::star::sheet::Border aBorder )
throw(::com::sun::star::uno::RuntimeException); throw(::com::sun::star::uno::RuntimeException);
......
...@@ -506,7 +506,8 @@ bool ScNamedRangesObj::IsModifyAndBroadcast() const ...@@ -506,7 +506,8 @@ bool ScNamedRangesObj::IsModifyAndBroadcast() const
void SAL_CALL ScNamedRangesObj::addNewByName( const OUString& aName, void SAL_CALL ScNamedRangesObj::addNewByName( const OUString& aName,
const OUString& aContent, const table::CellAddress& aPosition, const OUString& aContent, const table::CellAddress& aPosition,
sal_Int32 nUnoType ) throw(uno::RuntimeException) sal_Int32 nUnoType )
throw (uno::RuntimeException, std::exception)
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
ScAddress aPos( (SCCOL)aPosition.Column, (SCROW)aPosition.Row, aPosition.Sheet ); ScAddress aPos( (SCCOL)aPosition.Column, (SCROW)aPosition.Row, aPosition.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