diff options
Diffstat (limited to 'cppu/qa/cppumaker/test_cppumaker.cxx')
-rw-r--r-- | cppu/qa/cppumaker/test_cppumaker.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cppu/qa/cppumaker/test_cppumaker.cxx b/cppu/qa/cppumaker/test_cppumaker.cxx index 78097e26e854..22e0b81e19b6 100644 --- a/cppu/qa/cppumaker/test_cppumaker.cxx +++ b/cppu/qa/cppumaker/test_cppumaker.cxx @@ -352,6 +352,7 @@ #include <test/codemaker/cppumaker/TestException1.hpp> #include <test/codemaker/cppumaker/TestException2.hpp> #include <test/codemaker/cppumaker/Constants.hpp> +#include <test/codemaker/cppumaker/ProblematicConstantNames.hpp> #include <memory> #include <com/sun/star/uno/Any.hxx> @@ -475,7 +476,7 @@ void Test::testPolyStruct() { CPPUNIT_ASSERT_EQUAL( OUString( "test.codemaker.cppumaker.Struct<char,short>"), - (css::uno::makeAny( + (css::uno::Any( test::codemaker::cppumaker::Struct< sal_Unicode, sal_Int16 >()). getValueType().getTypeName())); @@ -494,7 +495,7 @@ void Test::testExceptions() { test::codemaker::cppumaker::TestException1 e11( "abc", nullptr, 1, - css::uno::makeAny(123.0), + css::uno::Any(123.0), test::codemaker::cppumaker::HelperEnum_ONE, test::codemaker::cppumaker::Struct<sal_Int32, sal_Int32>(5, aEmptySequence), 2); test::codemaker::cppumaker::TestException1 e12(e11); @@ -504,7 +505,7 @@ void Test::testExceptions() { CPPUNIT_ASSERT_EQUAL(e11, e13); test::codemaker::cppumaker::TestException2 e21( "abc", nullptr, 1, - css::uno::makeAny(123.0), + css::uno::Any(123.0), test::codemaker::cppumaker::HelperEnum_ONE, test::codemaker::cppumaker::Struct<sal_Int32, sal_Int32>(5, aEmptySequence), 2); test::codemaker::cppumaker::TestException2 e22(e21); |