diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/filter/XMLFilter.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/WrappedPropertySet.cxx | 4 | ||||
-rw-r--r-- | chart2/workbench/addin/sampleaddin.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index 22291fac852e..ec1bf1f8b3a3 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -569,7 +569,7 @@ ErrCode XMLFilter::impl_Export( } catch (const uno::Exception&) { - OSL_FAIL("Exception caught!"); + TOOLS_WARN_EXCEPTION( "chart2", "Exception caught!"); } } 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 ); } diff --git a/chart2/workbench/addin/sampleaddin.cxx b/chart2/workbench/addin/sampleaddin.cxx index 665a205abd9d..5e3d23fd5fe6 100644 --- a/chart2/workbench/addin/sampleaddin.cxx +++ b/chart2/workbench/addin/sampleaddin.cxx @@ -55,7 +55,7 @@ sal_Bool SAL_CALL component_writeInfo( } catch( const registry::InvalidRegistryException& ) { - OSL_FAIL( "### InvalidRegistryException!" ); + TOOLS_WARN_EXCEPTION( "chart2", "" ); } } return sal_False; |