coverity#737151 Uncaught exception

Change-Id: I133012cf88020e38eb0fc0932979347b996943fe
This commit is contained in:
Caolán McNamara
2014-02-13 13:09:44 +00:00
parent beb0a165ec
commit 2d72cfb502
4 changed files with 12 additions and 4 deletions

View File

@@ -392,7 +392,9 @@ namespace frm
}
//--------------------------------------------------------------------
void SAL_CALL ORichTextPeer::setProperty( const OUString& _rPropertyName, const Any& _rValue ) throw (RuntimeException)
void SAL_CALL ORichTextPeer::setProperty( const OUString& _rPropertyName, const Any& _rValue )
throw (RuntimeException,
std::exception)
{
if ( !GetWindow() )
{

View File

@@ -119,7 +119,9 @@ namespace frm
void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException);
// XVclWindowPeer
virtual void SAL_CALL setProperty( const OUString& _rPropertyName, const ::com::sun::star::uno::Any& _rValue ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setProperty( const OUString& _rPropertyName, const ::com::sun::star::uno::Any& _rValue )
throw (::com::sun::star::uno::RuntimeException,
std::exception);
// XTypeProvider
DECLARE_XTYPEPROVIDER( )

View File

@@ -183,7 +183,9 @@ public:
void SAL_CALL setForeground( sal_Int32 Color ) throw(::com::sun::star::uno::RuntimeException);
void SAL_CALL setControlFont( const ::com::sun::star::awt::FontDescriptor& aFont ) throw(::com::sun::star::uno::RuntimeException);
void SAL_CALL getStyles( sal_Int16 nType, ::com::sun::star::awt::FontDescriptor& Font, sal_Int32& ForegroundColor, sal_Int32& BackgroundColor ) throw(::com::sun::star::uno::RuntimeException);
void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value )
throw(::com::sun::star::uno::RuntimeException,
std::exception);
::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException);
// ::com::sun::star::awt::XLayoutConstrains

View File

@@ -1406,7 +1406,9 @@ namespace
}
}
void VCLXWindow::setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException)
void VCLXWindow::setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value )
throw(::com::sun::star::uno::RuntimeException,
std::exception)
{
SolarMutexGuard aGuard;