diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-04 02:02:20 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-04 02:03:19 +0900 |
commit | 225cbd10f7fcb285c20c18c68fcae3a2cbfe9711 (patch) | |
tree | bbaaec04a04872814f4755420443edd1ee6927dd /sc/source/ui/vba/vbachartobjects.cxx | |
parent | 97b5ed250d531382564d64521f8b803c92f775a0 (diff) |
catch exception by const reference
Diffstat (limited to 'sc/source/ui/vba/vbachartobjects.cxx')
-rw-r--r-- | sc/source/ui/vba/vbachartobjects.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbachartobjects.cxx b/sc/source/ui/vba/vbachartobjects.cxx index 0ca3fa9112f2..869311d678e7 100644 --- a/sc/source/ui/vba/vbachartobjects.cxx +++ b/sc/source/ui/vba/vbachartobjects.cxx @@ -134,7 +134,7 @@ ScVbaChartObjects::Add( double _nX, double _nY, double _nWidth, double _nHeight xChartObject->getChart()->setChartType(excel::XlChartType::xlColumnClustered); return uno::makeAny( xChartObject ); } - catch ( uno::Exception& ex) + catch (const uno::Exception& ex) { OSL_TRACE("AddItem caught exception ->%s", rtl::OUStringToOString( ex.Message, RTL_TEXTENCODING_UTF8 ).getStr() ); } |