coverity#1308565 Uncaught exception

Change-Id: I961169b4da3daf34adc338ca913dab6f5c1edfae
This commit is contained in:
Caolán McNamara
2015-06-28 21:08:31 +01:00
parent 3b35c00178
commit 565e135bf6
4 changed files with 4 additions and 4 deletions

View File

@@ -276,7 +276,7 @@ uno::Reference< frame::XModel > SAL_CALL OReportEngineJFree::createDocumentAlive
return createDocumentAlive(_frame,false);
}
uno::Reference< frame::XModel > SAL_CALL OReportEngineJFree::createDocumentAlive( const uno::Reference< frame::XFrame >& _frame,bool _bHidden ) throw (lang::DisposedException, lang::IllegalArgumentException, uno::Exception, uno::RuntimeException)
uno::Reference< frame::XModel > SAL_CALL OReportEngineJFree::createDocumentAlive( const uno::Reference< frame::XFrame >& _frame,bool _bHidden ) throw (lang::DisposedException, lang::IllegalArgumentException, uno::Exception, uno::RuntimeException, std::exception)
{
uno::Reference< frame::XModel > xModel;
OUString sOutputName = getNewOutputName(); // starts implicite the report generator

View File

@@ -115,7 +115,7 @@ namespace reportdesign
// Methods
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL createDocumentModel( ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL createDocumentAlive( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _frame ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL createDocumentAlive( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _frame ,bool _bHidden) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) ;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL createDocumentAlive( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _frame ,bool _bHidden) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) ;
virtual ::com::sun::star::util::URL SAL_CALL createDocument( ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
virtual void SAL_CALL interrupt( ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ;

View File

@@ -448,7 +448,7 @@ OUString SAL_CALL ScAccessibleCellBase::getShadowAttrs()
#include <com/sun/star/table/BorderLine.hpp>
OUString SAL_CALL ScAccessibleCellBase::getBorderAttrs()
throw (::com::sun::star::uno::RuntimeException)
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();

View File

@@ -145,7 +145,7 @@ protected:
OUString SAL_CALL getShadowAttrs()
throw (::com::sun::star::uno::RuntimeException, std::exception);
OUString SAL_CALL getBorderAttrs()
throw (::com::sun::star::uno::RuntimeException);
throw (::com::sun::star::uno::RuntimeException, std::exception);
public:
const ScAddress& GetCellAddress() const { return maCellAddress; }
bool IsCellInChangeTrack(const ScAddress &cell,Color *pColCellBoder);