summaryrefslogtreecommitdiff
path: root/sal/test
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-13 15:17:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-14 09:57:33 +0100
commitf85076ca48e27c81cf4ce36f9b09fb55733db4ec (patch)
tree6e00adaf93aa6b5d5cc6b5087cb58fad880dc3c9 /sal/test
parent0d51eab31fa305a702218203e9683c102cfe83a2 (diff)
catch by const reference
Diffstat (limited to 'sal/test')
-rw-r--r--sal/test/unloading/samplelib1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/test/unloading/samplelib1.cxx b/sal/test/unloading/samplelib1.cxx
index 305ae0c23d48..7f25869156a8 100644
--- a/sal/test/unloading/samplelib1.cxx
+++ b/sal/test/unloading/samplelib1.cxx
@@ -170,7 +170,7 @@ extern "C" {
xNewKey->createKey(OUString( RTL_CONSTASCII_USTRINGPARAM( SERVICENAME4)));
return sal_True;
}
- catch (InvalidRegistryException &)
+ catch (const InvalidRegistryException &)
{
OSL_FAIL( "### InvalidRegistryException!" );
}