diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-13 15:17:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-14 09:57:33 +0100 |
commit | f85076ca48e27c81cf4ce36f9b09fb55733db4ec (patch) | |
tree | 6e00adaf93aa6b5d5cc6b5087cb58fad880dc3c9 /sal/test | |
parent | 0d51eab31fa305a702218203e9683c102cfe83a2 (diff) |
catch by const reference
Diffstat (limited to 'sal/test')
-rw-r--r-- | sal/test/unloading/samplelib1.cxx | 2 |
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!" ); } |