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

coverity#1308513 Uncaught exception

Change-Id: If09fc8743f2125a947563e3da8d6c62d36a0bfbd
üst a4fdbaf5
...@@ -500,7 +500,7 @@ uno::Sequence<sal_Int8> SAL_CALL ...@@ -500,7 +500,7 @@ uno::Sequence<sal_Int8> SAL_CALL
OUString SAL_CALL OUString SAL_CALL
ScAccessibleContextBase::createAccessibleDescription() ScAccessibleContextBase::createAccessibleDescription()
throw (uno::RuntimeException) throw (uno::RuntimeException, std::exception)
{ {
OSL_FAIL("should be implemented in the abrevated class"); OSL_FAIL("should be implemented in the abrevated class");
return OUString(); return OUString();
......
...@@ -762,7 +762,7 @@ OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleName() throw( RuntimeExc ...@@ -762,7 +762,7 @@ OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleName() throw( RuntimeExc
return OUString( ScResId( STR_ACC_CSVRULER_NAME ) ); return OUString( ScResId( STR_ACC_CSVRULER_NAME ) );
} }
OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleDescription() throw( RuntimeException ) OUString SAL_CALL ScAccessibleCsvRuler::createAccessibleDescription() throw( RuntimeException, std::exception )
{ {
return OUString( ScResId( STR_ACC_CSVRULER_DESCR ) ); return OUString( ScResId( STR_ACC_CSVRULER_DESCR ) );
} }
...@@ -1296,7 +1296,7 @@ OUString SAL_CALL ScAccessibleCsvGrid::createAccessibleName() throw( RuntimeExce ...@@ -1296,7 +1296,7 @@ OUString SAL_CALL ScAccessibleCsvGrid::createAccessibleName() throw( RuntimeExce
return OUString( ScResId( STR_ACC_CSVGRID_NAME ) ); return OUString( ScResId( STR_ACC_CSVGRID_NAME ) );
} }
OUString SAL_CALL ScAccessibleCsvGrid::createAccessibleDescription() throw( RuntimeException ) OUString SAL_CALL ScAccessibleCsvGrid::createAccessibleDescription() throw( RuntimeException, std::exception )
{ {
return OUString( ScResId( STR_ACC_CSVGRID_DESCR ) ); return OUString( ScResId( STR_ACC_CSVGRID_DESCR ) );
} }
......
...@@ -262,7 +262,7 @@ protected: ...@@ -262,7 +262,7 @@ protected:
/// Return this object's description. /// Return this object's description.
virtual OUString SAL_CALL virtual OUString SAL_CALL
createAccessibleDescription() createAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException, std::exception);
/// Return the object's current name. /// Return the object's current name.
virtual OUString SAL_CALL virtual OUString SAL_CALL
......
...@@ -261,7 +261,7 @@ private: ...@@ -261,7 +261,7 @@ private:
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
/** Returns this object's description. */ /** Returns this object's description. */
virtual OUString SAL_CALL createAccessibleDescription() virtual OUString SAL_CALL createAccessibleDescription()
throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
/** Throws an exception, if the specified character position is invalid (outside 0..len-1). */ /** Throws an exception, if the specified character position is invalid (outside 0..len-1). */
void ensureValidIndex( sal_Int32 nIndex ) const void ensureValidIndex( sal_Int32 nIndex ) const
...@@ -492,7 +492,7 @@ private: ...@@ -492,7 +492,7 @@ private:
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
/** Returns this object's description. */ /** Returns this object's description. */
virtual OUString SAL_CALL createAccessibleDescription() virtual OUString SAL_CALL createAccessibleDescription()
throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
/** Throws an exception, if nIndex is not a valid child index. */ /** Throws an exception, if nIndex is not a valid child index. */
void ensureValidIndex( sal_Int32 nIndex ) const void ensureValidIndex( sal_Int32 nIndex ) const
......
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