summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx6
-rw-r--r--testtools/source/bridgetest/cppobj.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index 6ef7367ffdc2..990d7d3b729e 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -71,7 +71,7 @@ using namespace test::testtools::bridgetest;
namespace bridge_test
{
template<typename T, typename U = T>
-Sequence<T> cloneSequence(const Sequence<T>& val);
+static Sequence<T> cloneSequence(const Sequence<T>& val);
inline static Sequence< OUString > getSupportedServiceNames()
@@ -998,7 +998,7 @@ static bool raiseException( const Reference< XBridgeTest > & xLBT )
/* Returns an acquired sequence
*/
-uno_Sequence* cloneSequence(const uno_Sequence* val, const Type& type)
+static uno_Sequence* cloneSequence(const uno_Sequence* val, const Type& type)
{
TypeDescription td(type);
td.makeComplete();
@@ -1045,7 +1045,7 @@ Sequence<T> cloneSequence(const Sequence<T>& val)
}
template< class T >
-inline bool makeSurrogate(
+static inline bool makeSurrogate(
Reference< T > & rOut, Reference< T > const & rOriginal )
{
rOut.clear();
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index 2e646bfb5a18..dc5880c1b71c 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -622,11 +622,11 @@ void Test_Impl::raiseRuntimeExceptionOneway( const OUString & rMsg, const Refere
throw aExc;
}
-void dothrow2(const RuntimeException& e)
+static void dothrow2(const RuntimeException& e)
{
throw e;
}
-void dothrow(const RuntimeException& e)
+static void dothrow(const RuntimeException& e)
{
#if defined _MSC_VER
// currently only for MSVC: