summaryrefslogtreecommitdiffstats
path: root/chart2/source/model/template/StockDataInterpreter.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/model/template/StockDataInterpreter.cxx
parentremoved dead code (diff)
downloadcore-1aae826501c9a26d40b0827e69d84f680dff6a6b.tar.gz
core-1aae826501c9a26d40b0827e69d84f680dff6a6b.zip
catch by const reference
Diffstat (limited to 'chart2/source/model/template/StockDataInterpreter.cxx')
-rw-r--r--chart2/source/model/template/StockDataInterpreter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/template/StockDataInterpreter.cxx b/chart2/source/model/template/StockDataInterpreter.cxx
index ba169d87e72a..9609710e2406 100644
--- a/chart2/source/model/template/StockDataInterpreter.cxx
+++ b/chart2/source/model/template/StockDataInterpreter.cxx
@@ -258,7 +258,7 @@ InterpretedData SAL_CALL StockDataInterpreter::interpretDataSource(
xSink->setData( aSequences[nGroupIndex][nSeriesIdx] );
aResultSeries[nGroupIndex][nSeriesIdx].set( xSeries );
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
@@ -317,7 +317,7 @@ sal_Bool SAL_CALL StockDataInterpreter::isDataCompatible(
if( aSeq.getLength() != nNumberOfNecessarySequences )
return sal_False;
}
- catch( uno::Exception & ex )
+ catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}