summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-26 15:32:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-26 15:32:35 +0100
commit71fcd819d59218f020faaa0b7f17b9235a609e49 (patch)
treec5a05de2fe8a7bc8c14f445ec597fa64ce97f124 /sc
parent771def6aec5bbb1966f65e81cdf68afd94aa4b70 (diff)
catch by const ref
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbahelper.cxx4
1 files changed, 3 insertions, 1 deletions
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&)
+ {
+ }
}
}
};