summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/cppobj.cxx4
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: