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:
/// XNamedRanges
virtual void SAL_CALL addNewByName( const OUString& aName, const OUString& aContent,
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,
::com::sun::star::sheet::Border aBorder )
throw(::com::sun::star::uno::RuntimeException);
......
......@@ -505,8 +505,9 @@ bool ScNamedRangesObj::IsModifyAndBroadcast() const
// sheet::XNamedRanges
void SAL_CALL ScNamedRangesObj::addNewByName( const OUString& aName,
const OUString& aContent, const table::CellAddress& aPosition,
sal_Int32 nUnoType ) throw(uno::RuntimeException)
const OUString& aContent, const table::CellAddress& aPosition,
sal_Int32 nUnoType )
throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
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