From 71fcd819d59218f020faaa0b7f17b9235a609e49 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 26 Aug 2011 15:32:07 +0100 Subject: catch by const ref --- sc/source/ui/vba/vbahelper.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/ui/vba/vbahelper.cxx b/sc/source/ui/vba/vbahelper.cxx index adc7b2493b88..2dedc41f5639 100644 --- a/sc/source/ui/vba/vbahelper.cxx +++ b/sc/source/ui/vba/vbahelper.cxx @@ -156,7 +156,9 @@ public: { setReplaceCellsWarning( true ); } - catch ( uno::Exception& /*e*/ ){} + catch (const uno::Exception&) + { + } } } }; -- cgit