summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx10
-rw-r--r--testtools/source/bridgetest/cppobj.cxx3
2 files changed, 10 insertions, 3 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index 535d8e1fa73c..c2b39378b8e6 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -98,9 +98,6 @@ bool checkEmpty(OUString const & string, char const * message) {
return ok;
}
-}
-
-
class TestBridgeImpl : public osl::DebugBase<TestBridgeImpl>,
public WeakImplHelper< XMain, XServiceInfo >
{
@@ -120,6 +117,7 @@ public:
virtual sal_Int32 SAL_CALL run( const Sequence< OUString > & rArgs ) override;
};
+}
static bool equals( const TestElement & rData1, const TestElement & rData2 )
{
@@ -302,6 +300,8 @@ static bool performSequenceOfCallTest( const Reference < XBridgeTest > &xLBT )
return xLBT->sequenceOfCallTestPassed();
}
+namespace {
+
class ORecursiveCall : public WeakImplHelper< XRecursiveCall >
{
private:
@@ -322,6 +322,7 @@ public:
}
};
+}
static bool performRecursiveCallTest( const Reference < XBridgeTest > & xLBT )
{
@@ -330,12 +331,15 @@ static bool performRecursiveCallTest( const Reference < XBridgeTest > & xLBT )
return true;
}
+namespace {
+
class MyClass : public osl::DebugBase<MyClass>, public OWeakObject
{
public:
MyClass();
};
+}
MyClass::MyClass()
{
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index 2a5a58be34bb..5cc360985609 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -117,6 +117,7 @@ static void assign( TestData & rData,
rData.Sequence = rSequence;
}
+namespace {
class Test_Impl :
public osl::DebugBase<Test_Impl>,
@@ -455,6 +456,8 @@ public:
};
+}
+
Any Test_Impl::transportAny( const Any & value )
{
return value;