summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/cppobj.cxx8
-rw-r--r--testtools/source/bridgetest/currentcontextchecker.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index 5bb4a3084ad8..13eb1e6440aa 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -747,7 +747,7 @@ void Test_Impl::setRuntimeException( sal_Int32 )
RuntimeException aExc;
aExc.Message = _aData.String;
aExc.Context = _aData.Interface;
- throwException( makeAny( aExc ) );
+ throwException( Any( aExc ) );
}
// XBridgeTest2 -------------------------------------------------------------
@@ -989,7 +989,7 @@ void Test_Impl::testConstructorsService(
'X',
"test",
UnoType< Any >::get(),
- makeAny(true),
+ Any(true),
arg14,
arg15,
arg16,
@@ -1014,7 +1014,7 @@ void Test_Impl::testConstructorsService(
TestEnum_TWO,
TestStruct(10),
TestPolyStruct< sal_Bool >(true),
- TestPolyStruct< Any >(makeAny(true)),
+ TestPolyStruct< Any >(Any(true)),
Reference< XInterface >(nullptr));
Sequence< Any > args{
Any(true),
@@ -1055,7 +1055,7 @@ void Test_Impl::testConstructorsService(
Any(TestEnum_TWO),
Any(TestStruct(10)),
Any(TestPolyStruct< sal_Bool >(true)),
- Any(TestPolyStruct< Any >(makeAny(true))),
+ Any(TestPolyStruct< Any >(Any(true))),
Any(Reference< XInterface >(nullptr))
};
assert(args.getLength() == 40);
diff --git a/testtools/source/bridgetest/currentcontextchecker.cxx b/testtools/source/bridgetest/currentcontextchecker.cxx
index c00e8b76ee84..5852f85b9cbe 100644
--- a/testtools/source/bridgetest/currentcontextchecker.cxx
+++ b/testtools/source/bridgetest/currentcontextchecker.cxx
@@ -56,7 +56,7 @@ CurrentContext::CurrentContext() {}
css::uno::Any CurrentContext::getValueByName(OUString const & Name)
{
- return Name == KEY ? css::uno::makeAny(OUString(VALUE)) : css::uno::Any();
+ return Name == KEY ? css::uno::Any(OUString(VALUE)) : css::uno::Any();
}
}