summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/ChartTypeDialogController.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-11-29 02:06:57 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-11-29 10:07:04 +0900
commit1aae826501c9a26d40b0827e69d84f680dff6a6b (patch)
treec229c28414e3289be9c893dba38aee793d298051 /chart2/source/controller/dialogs/ChartTypeDialogController.cxx
parent3c795a953ffc36856588cd6b1dc23f7a83ac815d (diff)
catch by const reference
Diffstat (limited to 'chart2/source/controller/dialogs/ChartTypeDialogController.cxx')
-rw-r--r--chart2/source/controller/dialogs/ChartTypeDialogController.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx
index cea253b23cf7..1dae363fd956 100644
--- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx
+++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx
@@ -317,7 +317,7 @@ uno::Reference< XChartTypeTemplate > ChartTypeDialogController::getCurrentTempla
{
this->setTemplateProperties( xTemplateProps );
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -1195,7 +1195,7 @@ void CombiColumnLineChartDialogController::fillExtraControls( const ChartTypePar
{
xTemplateProps->getPropertyValue( C2U("NumberOfLines") ) >>= nNumLines;
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}