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

coverity#738372 Uncaught exception

Change-Id: I83ebbdde3be1163bbd52bd1f4e49aab11e6d0e58
üst c80621d3
......@@ -416,7 +416,10 @@ public:
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getXForms( ) throw (css::uno::RuntimeException);
// css::document::XDocumentLanguages
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getDocumentLanguages( ::sal_Int16 nScriptTypes, ::sal_Int16 nCount ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getDocumentLanguages( ::sal_Int16 nScriptTypes, ::sal_Int16 nCount )
throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException,
std::exception);
// css::text::XFlatParagraphIteratorProvider:
virtual css::uno::Reference< css::text::XFlatParagraphIterator > SAL_CALL getFlatParagraphIterator(::sal_Int32 nTextMarkupType, sal_Bool bAutomatic ) throw (css::uno::RuntimeException);
......
......@@ -3137,7 +3137,9 @@ void SAL_CALL SwXTextDocument::operator delete( void * p) throw()
uno::Sequence< lang::Locale > SAL_CALL SwXTextDocument::getDocumentLanguages(
::sal_Int16 nScriptTypes,
::sal_Int16 nMaxCount )
throw (lang::IllegalArgumentException, uno::RuntimeException)
throw (lang::IllegalArgumentException,
uno::RuntimeException,
std::exception)
{
SolarMutexGuard aGuard;
......
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