summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/StockChartTypeTemplate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template/StockChartTypeTemplate.cxx')
-rw-r--r--chart2/source/model/template/StockChartTypeTemplate.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/model/template/StockChartTypeTemplate.cxx b/chart2/source/model/template/StockChartTypeTemplate.cxx
index 39881b7e47de..f0490a03d73d 100644
--- a/chart2/source/model/template/StockChartTypeTemplate.cxx
+++ b/chart2/source/model/template/StockChartTypeTemplate.cxx
@@ -275,7 +275,7 @@ void SAL_CALL StockChartTypeTemplate::applyStyle(
}
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -413,7 +413,7 @@ void StockChartTypeTemplate::createChartTypes(
Reference< XChartTypeContainer > xCTCnt( rCoordSys[ 0 ], uno::UNO_QUERY_THROW );
xCTCnt->setChartTypes( ::chart::ContainerHelper::ContainerToSequence(aChartTypeVec) );
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -494,7 +494,7 @@ sal_Bool SAL_CALL StockChartTypeTemplate::matchesTemplate(
}
}
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -516,7 +516,7 @@ Reference< XChartType > SAL_CALL StockChartTypeTemplate::getChartTypeForNewSerie
CHART2_SERVICE_NAME_CHARTTYPE_LINE ), uno::UNO_QUERY_THROW );
ChartTypeTemplate::copyPropertiesFromOldToNewCoordianteSystem( aFormerlyUsedChartTypes, xResult );
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}