summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbachartobjects.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-11-04 02:02:20 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-11-04 02:03:19 +0900
commit225cbd10f7fcb285c20c18c68fcae3a2cbfe9711 (patch)
treebbaaec04a04872814f4755420443edd1ee6927dd /sc/source/ui/vba/vbachartobjects.cxx
parent97b5ed250d531382564d64521f8b803c92f775a0 (diff)
catch exception by const reference
Diffstat (limited to 'sc/source/ui/vba/vbachartobjects.cxx')
-rw-r--r--sc/source/ui/vba/vbachartobjects.cxx2
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() );
}