diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 09:28:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 13:07:40 +0000 |
commit | 32f95a35514701ed16413125b440c16d90f52b4a (patch) | |
tree | 25ac5edca15ee02bc937ee47116c2197559da4cd /testtools | |
parent | 0f98299f7aa44bbb55c1bfeddca7799f727d14b0 (diff) |
V813: Decreased performance
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/source/bridgetest/cppobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx index e5b96c82156a..28f13fc2d260 100644 --- a/testtools/source/bridgetest/cppobj.cxx +++ b/testtools/source/bridgetest/cppobj.cxx @@ -658,11 +658,11 @@ void Test_Impl::raiseRuntimeExceptionOneway( const OUString & rMsg, const Refere throw aExc; } -void dothrow2( RuntimeException e ) +void dothrow2(const RuntimeException& e) { throw e; } -void dothrow( RuntimeException const & e ) +void dothrow(const RuntimeException& e) { #if defined _MSC_VER // currently only for MSVC: |