diff options
Diffstat (limited to 'chart2/source/model/template')
28 files changed, 62 insertions, 90 deletions
diff --git a/chart2/source/model/template/AreaChartType.cxx b/chart2/source/model/template/AreaChartType.cxx index a961416059f3..45ebcf72b310 100644 --- a/chart2/source/model/template/AreaChartType.cxx +++ b/chart2/source/model/template/AreaChartType.cxx @@ -18,7 +18,6 @@ */ #include "AreaChartType.hxx" -#include <macros.hxx> #include <servicenames_charttypes.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/chart2/source/model/template/AreaChartTypeTemplate.cxx b/chart2/source/model/template/AreaChartTypeTemplate.cxx index f76e8b0a43ef..6e443c948fe4 100644 --- a/chart2/source/model/template/AreaChartTypeTemplate.cxx +++ b/chart2/source/model/template/AreaChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "AreaChartTypeTemplate.hxx" -#include <macros.hxx> #include <servicenames_charttypes.hxx> #include <DiagramHelper.hxx> #include <DataSeriesHelper.hxx> @@ -159,7 +158,7 @@ sal_Int32 AreaChartTypeTemplate::getDimension() const } catch( const beans::UnknownPropertyException & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return nDim; @@ -214,7 +213,7 @@ Reference< chart2::XChartType > AreaChartTypeTemplate::getChartTypeForIndex( sal } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; diff --git a/chart2/source/model/template/BarChartType.cxx b/chart2/source/model/template/BarChartType.cxx index 5d5391152527..6f11dd5458a2 100644 --- a/chart2/source/model/template/BarChartType.cxx +++ b/chart2/source/model/template/BarChartType.cxx @@ -18,7 +18,6 @@ */ #include "BarChartType.hxx" -#include <macros.hxx> #include <servicenames_charttypes.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/chart2/source/model/template/BarChartTypeTemplate.cxx b/chart2/source/model/template/BarChartTypeTemplate.cxx index 05c45dfd9021..3845ae98d039 100644 --- a/chart2/source/model/template/BarChartTypeTemplate.cxx +++ b/chart2/source/model/template/BarChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "BarChartTypeTemplate.hxx" -#include <macros.hxx> #include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> #include <DataSeriesHelper.hxx> @@ -206,7 +205,7 @@ Reference< chart2::XChartType > BarChartTypeTemplate::getChartTypeForIndex( sal_ } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; @@ -260,7 +259,7 @@ void SAL_CALL BarChartTypeTemplate::applyStyle( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } } diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx index 6fc213a9ca14..8179594e2ceb 100644 --- a/chart2/source/model/template/BubbleChartType.cxx +++ b/chart2/source/model/template/BubbleChartType.cxx @@ -19,7 +19,6 @@ #include "BubbleChartType.hxx" #include <PropertyHelper.hxx> -#include <macros.hxx> #include <servicenames_charttypes.hxx> #include <CartesianCoordinateSystem.hxx> #include <AxisHelper.hxx> diff --git a/chart2/source/model/template/BubbleChartTypeTemplate.cxx b/chart2/source/model/template/BubbleChartTypeTemplate.cxx index 89de378bb4ed..07eb859e104b 100644 --- a/chart2/source/model/template/BubbleChartTypeTemplate.cxx +++ b/chart2/source/model/template/BubbleChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "BubbleChartTypeTemplate.hxx" -#include <macros.hxx> #include "BubbleDataInterpreter.hxx" #include <CartesianCoordinateSystem.hxx> #include <Scaling.hxx> @@ -169,7 +168,7 @@ Reference< chart2::XChartType > BubbleChartTypeTemplate::getChartTypeForIndex( s } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; @@ -191,7 +190,7 @@ Reference< chart2::XChartType > SAL_CALL BubbleChartTypeTemplate::getChartTypeFo } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; diff --git a/chart2/source/model/template/BubbleDataInterpreter.cxx b/chart2/source/model/template/BubbleDataInterpreter.cxx index da09e143dd08..364ed3459e38 100644 --- a/chart2/source/model/template/BubbleDataInterpreter.cxx +++ b/chart2/source/model/template/BubbleDataInterpreter.cxx @@ -19,7 +19,6 @@ #include "BubbleDataInterpreter.hxx" #include <DataSeries.hxx> -#include <macros.hxx> #include <DataSeriesHelper.hxx> #include <CommonConverters.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -112,7 +111,7 @@ chart2::InterpretedData SAL_CALL BubbleDataInterpreter::interpretDataSource( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -259,7 +258,7 @@ chart2::InterpretedData SAL_CALL BubbleDataInterpreter::reinterpretDataSeries( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -281,7 +280,7 @@ sal_Bool SAL_CALL BubbleDataInterpreter::isDataCompatible( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx index 805cec720538..81f084540815 100644 --- a/chart2/source/model/template/CandleStickChartType.cxx +++ b/chart2/source/model/template/CandleStickChartType.cxx @@ -19,7 +19,6 @@ #include "CandleStickChartType.hxx" #include <PropertyHelper.hxx> -#include <macros.hxx> #include <StockBar.hxx> #include <servicenames_charttypes.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> @@ -195,7 +194,7 @@ CandleStickChartType::~CandleStickChartType() } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx index 920ce5696b54..d7eb954901bc 100644 --- a/chart2/source/model/template/ChartType.cxx +++ b/chart2/source/model/template/ChartType.cxx @@ -20,7 +20,6 @@ #include "ChartType.hxx" #include <PropertyHelper.hxx> #include <CommonFunctors.hxx> -#include <macros.hxx> #include <CartesianCoordinateSystem.hxx> #include <AxisHelper.hxx> #include <CloneHelper.hxx> @@ -255,7 +254,7 @@ void SAL_CALL ChartType::addModifyListener( const uno::Reference< util::XModifyL } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -268,7 +267,7 @@ void SAL_CALL ChartType::removeModifyListener( const uno::Reference< util::XModi } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } diff --git a/chart2/source/model/template/ChartTypeManager.cxx b/chart2/source/model/template/ChartTypeManager.cxx index db79928d211c..a94253a577ac 100644 --- a/chart2/source/model/template/ChartTypeManager.cxx +++ b/chart2/source/model/template/ChartTypeManager.cxx @@ -18,7 +18,6 @@ */ #include <ChartTypeManager.hxx> -#include <macros.hxx> #include <StackMode.hxx> #include <CartesianCoordinateSystem.hxx> @@ -254,7 +253,7 @@ uno::Reference< uno::XInterface > SAL_CALL ChartTypeManager::createInstance( // As XMultiServiceFactory does not specify, what to do in case // createInstance is called with an unknown service-name, this // function will just return an empty XInterface. - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); SAL_WARN("chart2", "Couldn't instantiate service: "<< aServiceSpecifier ); xResult.set( nullptr ); } diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx index 8f64b3291cc4..b06adcdfbda6 100644 --- a/chart2/source/model/template/ChartTypeTemplate.cxx +++ b/chart2/source/model/template/ChartTypeTemplate.cxx @@ -19,7 +19,6 @@ #include "ChartTypeTemplate.hxx" #include <PropertyHelper.hxx> -#include <macros.hxx> #include <DataSeriesHelper.hxx> #include "DataInterpreter.hxx" #include <CommonConverters.hxx> @@ -170,7 +169,7 @@ uno::Reference< XDiagram > SAL_CALL ChartTypeTemplate::createDiagramByDataSource } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xDia; @@ -251,7 +250,7 @@ void SAL_CALL ChartTypeTemplate::changeDiagram( const uno::Reference< XDiagram > } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -302,7 +301,7 @@ void SAL_CALL ChartTypeTemplate::changeDiagramData( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -361,7 +360,7 @@ sal_Bool SAL_CALL ChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return bResult; @@ -411,7 +410,7 @@ void SAL_CALL ChartTypeTemplate::applyStyle( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } } @@ -668,7 +667,7 @@ void ChartTypeTemplate::adaptScales( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } } @@ -782,7 +781,7 @@ void ChartTypeTemplate::FillDiagram( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -852,7 +851,7 @@ void ChartTypeTemplate::createChartTypes( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } diff --git a/chart2/source/model/template/ColumnChartType.cxx b/chart2/source/model/template/ColumnChartType.cxx index 3f0b0bbeaace..0655689d8f4e 100644 --- a/chart2/source/model/template/ColumnChartType.cxx +++ b/chart2/source/model/template/ColumnChartType.cxx @@ -18,7 +18,6 @@ */ #include "ColumnChartType.hxx" -#include <macros.hxx> #include <servicenames_charttypes.hxx> #include <PropertyHelper.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> diff --git a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx index e245300cc4bc..afa2d8bcd038 100644 --- a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx +++ b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "ColumnLineChartTypeTemplate.hxx" -#include <macros.hxx> #include <CommonConverters.hxx> #include <DiagramHelper.hxx> #include <DataSeriesHelper.hxx> @@ -227,7 +226,7 @@ void ColumnLineChartTypeTemplate::createChartTypes( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -339,7 +338,7 @@ sal_Bool SAL_CALL ColumnLineChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return bResult; @@ -375,7 +374,7 @@ Reference< XChartType > SAL_CALL ColumnLineChartTypeTemplate::getChartTypeForNew } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; diff --git a/chart2/source/model/template/ColumnLineDataInterpreter.cxx b/chart2/source/model/template/ColumnLineDataInterpreter.cxx index 5a32fa1856c2..7f15eb7bcc70 100644 --- a/chart2/source/model/template/ColumnLineDataInterpreter.cxx +++ b/chart2/source/model/template/ColumnLineDataInterpreter.cxx @@ -19,7 +19,6 @@ #include "ColumnLineDataInterpreter.hxx" #include <DataSeries.hxx> -#include <macros.hxx> #include <DataSeriesHelper.hxx> #include <CommonConverters.hxx> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/chart2/source/model/template/DataInterpreter.cxx b/chart2/source/model/template/DataInterpreter.cxx index bb6fdd0f3f69..445bc3598df7 100644 --- a/chart2/source/model/template/DataInterpreter.cxx +++ b/chart2/source/model/template/DataInterpreter.cxx @@ -21,7 +21,6 @@ #include <DataSeries.hxx> #include <DataSourceHelper.hxx> #include <DataSeriesHelper.hxx> -#include <macros.hxx> #include <CommonConverters.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/chart2/data/XDataSink.hpp> @@ -98,7 +97,7 @@ InterpretedData SAL_CALL DataInterpreter::interpretDataSource( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -179,7 +178,7 @@ InterpretedData SAL_CALL DataInterpreter::reinterpretDataSeries( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -202,7 +201,7 @@ sal_Bool SAL_CALL DataInterpreter::isDataCompatible( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -296,7 +295,7 @@ Reference< data::XDataSource > SAL_CALL DataInterpreter::mergeInterpretedData( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -318,7 +317,7 @@ OUString DataInterpreter::GetRole( const Reference< data::XDataSequence > & xSeq } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return aResult; } @@ -334,7 +333,7 @@ void DataInterpreter::SetRole( const Reference< data::XDataSequence > & xSeq, co } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } diff --git a/chart2/source/model/template/FilledNetChartType.cxx b/chart2/source/model/template/FilledNetChartType.cxx index 2ee5272edeca..e693671f9b07 100644 --- a/chart2/source/model/template/FilledNetChartType.cxx +++ b/chart2/source/model/template/FilledNetChartType.cxx @@ -19,7 +19,6 @@ #include "FilledNetChartType.hxx" #include <PropertyHelper.hxx> -#include <macros.hxx> #include <PolarCoordinateSystem.hxx> #include <Scaling.hxx> #include <servicenames_charttypes.hxx> diff --git a/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx b/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx index ed5ba7807abf..668472e54f04 100644 --- a/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx +++ b/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx @@ -14,7 +14,6 @@ #include <PropertyHelper.hxx> #include <DiagramHelper.hxx> #include <unonames.hxx> -#include <macros.hxx> #include <com/sun/star/beans/Property.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> @@ -119,7 +118,7 @@ uno::Reference<chart2::XChartType> GL3DBarChartTypeTemplate::getChartTypeForInde } catch (const uno::Exception & ex) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; @@ -161,7 +160,7 @@ GL3DBarChartTypeTemplate::getChartTypeForNewSeries( const uno::Sequence<uno::Ref } catch (const uno::Exception & ex) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; diff --git a/chart2/source/model/template/LineChartType.cxx b/chart2/source/model/template/LineChartType.cxx index df7b76ecb91f..3c25980e2eaa 100644 --- a/chart2/source/model/template/LineChartType.cxx +++ b/chart2/source/model/template/LineChartType.cxx @@ -19,7 +19,6 @@ #include "LineChartType.hxx" #include <PropertyHelper.hxx> -#include <macros.hxx> #include <servicenames_charttypes.hxx> #include <unonames.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/chart2/source/model/template/LineChartTypeTemplate.cxx b/chart2/source/model/template/LineChartTypeTemplate.cxx index bdba0b44c3e1..58adeffc6659 100644 --- a/chart2/source/model/template/LineChartTypeTemplate.cxx +++ b/chart2/source/model/template/LineChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "LineChartTypeTemplate.hxx" -#include <macros.hxx> #include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> #include <DataSeriesHelper.hxx> @@ -243,7 +242,7 @@ sal_Bool SAL_CALL LineChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -272,7 +271,7 @@ sal_Bool SAL_CALL LineChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -303,7 +302,7 @@ Reference< chart2::XChartType > LineChartTypeTemplate::getChartTypeForIndex( sal } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; @@ -336,7 +335,7 @@ Reference< chart2::XChartType > SAL_CALL LineChartTypeTemplate::getChartTypeForN } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; @@ -360,7 +359,7 @@ void SAL_CALL LineChartTypeTemplate::applyStyle( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx index 0e195ce33886..829a2f27d41d 100644 --- a/chart2/source/model/template/NetChartType.cxx +++ b/chart2/source/model/template/NetChartType.cxx @@ -19,7 +19,6 @@ #include "NetChartType.hxx" #include <PropertyHelper.hxx> -#include <macros.hxx> #include <PolarCoordinateSystem.hxx> #include <servicenames_charttypes.hxx> #include <AxisIndexDefines.hxx> diff --git a/chart2/source/model/template/NetChartTypeTemplate.cxx b/chart2/source/model/template/NetChartTypeTemplate.cxx index 3cae40b53763..9cea513a8f8d 100644 --- a/chart2/source/model/template/NetChartTypeTemplate.cxx +++ b/chart2/source/model/template/NetChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "NetChartTypeTemplate.hxx" -#include <macros.hxx> #include <PolarCoordinateSystem.hxx> #include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> @@ -75,7 +74,7 @@ void SAL_CALL NetChartTypeTemplate::applyStyle( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -139,7 +138,7 @@ sal_Bool SAL_CALL NetChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -175,7 +174,7 @@ Reference< chart2::XChartType > NetChartTypeTemplate::getChartTypeForIndex( sal_ } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; diff --git a/chart2/source/model/template/PieChartType.cxx b/chart2/source/model/template/PieChartType.cxx index 247b5480a2fa..f99ab3c1a408 100644 --- a/chart2/source/model/template/PieChartType.cxx +++ b/chart2/source/model/template/PieChartType.cxx @@ -19,7 +19,6 @@ #include "PieChartType.hxx" #include <PropertyHelper.hxx> -#include <macros.hxx> #include <PolarCoordinateSystem.hxx> #include <AxisHelper.hxx> #include <servicenames_charttypes.hxx> diff --git a/chart2/source/model/template/PieChartTypeTemplate.cxx b/chart2/source/model/template/PieChartTypeTemplate.cxx index 15fdbf494d13..b7b9f109df0c 100644 --- a/chart2/source/model/template/PieChartTypeTemplate.cxx +++ b/chart2/source/model/template/PieChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "PieChartTypeTemplate.hxx" -#include <macros.hxx> #include <CommonConverters.hxx> #include <DiagramHelper.hxx> #include <servicenames_charttypes.hxx> @@ -197,7 +196,7 @@ sal_Int32 PieChartTypeTemplate::getDimension() const } catch( const beans::UnknownPropertyException & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return nDim; @@ -250,7 +249,7 @@ void PieChartTypeTemplate::adaptScales( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } } @@ -292,7 +291,7 @@ void PieChartTypeTemplate::createChartTypes( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -362,7 +361,7 @@ sal_Bool SAL_CALL PieChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); bResult = false; } } @@ -402,7 +401,7 @@ Reference< chart2::XChartType > PieChartTypeTemplate::getChartTypeForIndex( sal_ } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; @@ -430,7 +429,7 @@ Reference< chart2::XChartType > SAL_CALL PieChartTypeTemplate::getChartTypeForNe } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; @@ -521,7 +520,7 @@ void SAL_CALL PieChartTypeTemplate::applyStyle( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -558,7 +557,7 @@ void SAL_CALL PieChartTypeTemplate::resetStyles( const Reference< chart2::XDiagr } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } } diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx index 2dd540dce972..0e5e2c66cc62 100644 --- a/chart2/source/model/template/ScatterChartType.cxx +++ b/chart2/source/model/template/ScatterChartType.cxx @@ -19,7 +19,6 @@ #include "ScatterChartType.hxx" #include <PropertyHelper.hxx> -#include <macros.hxx> #include <servicenames_charttypes.hxx> #include <CartesianCoordinateSystem.hxx> #include <AxisHelper.hxx> diff --git a/chart2/source/model/template/ScatterChartTypeTemplate.cxx b/chart2/source/model/template/ScatterChartTypeTemplate.cxx index 2e3c63453131..9e1874d82801 100644 --- a/chart2/source/model/template/ScatterChartTypeTemplate.cxx +++ b/chart2/source/model/template/ScatterChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "ScatterChartTypeTemplate.hxx" -#include <macros.hxx> #include "XYDataInterpreter.hxx" #include <CartesianCoordinateSystem.hxx> #include <DiagramHelper.hxx> @@ -213,7 +212,7 @@ void SAL_CALL ScatterChartTypeTemplate::applyStyle( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -275,7 +274,7 @@ sal_Bool SAL_CALL ScatterChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -304,7 +303,7 @@ sal_Bool SAL_CALL ScatterChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -335,7 +334,7 @@ Reference< chart2::XChartType > ScatterChartTypeTemplate::getChartTypeForIndex( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; @@ -368,7 +367,7 @@ Reference< chart2::XChartType > SAL_CALL ScatterChartTypeTemplate::getChartTypeF } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; diff --git a/chart2/source/model/template/StockChartTypeTemplate.cxx b/chart2/source/model/template/StockChartTypeTemplate.cxx index 73c9f2ff1691..e53f285c472f 100644 --- a/chart2/source/model/template/StockChartTypeTemplate.cxx +++ b/chart2/source/model/template/StockChartTypeTemplate.cxx @@ -18,7 +18,6 @@ */ #include "StockChartTypeTemplate.hxx" -#include <macros.hxx> #include <DataSeriesHelper.hxx> #include "StockDataInterpreter.hxx" #include <CartesianCoordinateSystem.hxx> @@ -252,7 +251,7 @@ void SAL_CALL StockChartTypeTemplate::applyStyle( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -387,7 +386,7 @@ void StockChartTypeTemplate::createChartTypes( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -467,7 +466,7 @@ sal_Bool SAL_CALL StockChartTypeTemplate::matchesTemplate( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return bResult; @@ -488,7 +487,7 @@ Reference< XChartType > SAL_CALL StockChartTypeTemplate::getChartTypeForNewSerie } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return xResult; diff --git a/chart2/source/model/template/StockDataInterpreter.cxx b/chart2/source/model/template/StockDataInterpreter.cxx index d3854b4db598..ea0b1c68f1d4 100644 --- a/chart2/source/model/template/StockDataInterpreter.cxx +++ b/chart2/source/model/template/StockDataInterpreter.cxx @@ -19,7 +19,6 @@ #include "StockDataInterpreter.hxx" #include <DataSeries.hxx> -#include <macros.hxx> #include <DataSeriesHelper.hxx> #include <CommonConverters.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -246,7 +245,7 @@ InterpretedData SAL_CALL StockDataInterpreter::interpretDataSource( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } } @@ -304,7 +303,7 @@ sal_Bool SAL_CALL StockDataInterpreter::isDataCompatible( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } } diff --git a/chart2/source/model/template/XYDataInterpreter.cxx b/chart2/source/model/template/XYDataInterpreter.cxx index de6b8eba5bff..f7d1ec1ca2de 100644 --- a/chart2/source/model/template/XYDataInterpreter.cxx +++ b/chart2/source/model/template/XYDataInterpreter.cxx @@ -19,7 +19,6 @@ #include "XYDataInterpreter.hxx" #include <DataSeries.hxx> -#include <macros.hxx> #include <DataSeriesHelper.hxx> #include <CommonConverters.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -96,7 +95,7 @@ chart2::InterpretedData SAL_CALL XYDataInterpreter::interpretDataSource( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -220,7 +219,7 @@ chart2::InterpretedData SAL_CALL XYDataInterpreter::reinterpretDataSeries( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } @@ -243,7 +242,7 @@ sal_Bool SAL_CALL XYDataInterpreter::isDataCompatible( } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } } |