diff options
Diffstat (limited to 'chart2/source/tools/WrappedPropertySet.cxx')
-rw-r--r-- | chart2/source/tools/WrappedPropertySet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx index 26344a578adc..483c907a81b1 100644 --- a/chart2/source/tools/WrappedPropertySet.cxx +++ b/chart2/source/tools/WrappedPropertySet.cxx @@ -115,7 +115,7 @@ void SAL_CALL WrappedPropertySet::setPropertyValue( const OUString& rPropertyNam catch( const uno::Exception& ex ) { css::uno::Any anyEx = cppu::getCaughtException(); - OSL_FAIL("invalid exception caught in WrappedPropertySet::setPropertyValue"); + TOOLS_WARN_EXCEPTION( "chart2", "invalid exception caught in WrappedPropertySet::setPropertyValue"); throw lang::WrappedTargetException( ex.Message, nullptr, anyEx ); } } @@ -152,7 +152,7 @@ Any SAL_CALL WrappedPropertySet::getPropertyValue( const OUString& rPropertyName catch( const uno::Exception& ex ) { css::uno::Any anyEx = cppu::getCaughtException(); - OSL_FAIL("invalid exception caught in WrappedPropertySet::setPropertyValue"); + TOOLS_WARN_EXCEPTION( "chart2", "invalid exception caught in WrappedPropertySet::setPropertyValue"); throw lang::WrappedTargetException( ex.Message, nullptr, anyEx ); } |