diff options
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/qa/test_any.cxx | 2 | ||||
-rw-r--r-- | cppu/qa/test_unotype.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index f90a95fb3cf1..3a0352b3c59f 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -225,7 +225,7 @@ public: void Test::testVoid() { css::uno::Any a; - CPPUNIT_ASSERT(a.getValueType() == cppu::UnoType<cppu::UnoVoidType>::get()); + CPPUNIT_ASSERT(a.getValueType() == cppu::UnoType<void>::get()); { bool b = true; CPPUNIT_ASSERT_MESSAGE("bool", !(a >>= b) && b); diff --git a/cppu/qa/test_unotype.cxx b/cppu/qa/test_unotype.cxx index 9ba079958971..053b155628f1 100644 --- a/cppu/qa/test_unotype.cxx +++ b/cppu/qa/test_unotype.cxx @@ -102,6 +102,7 @@ void Test::testUnoType() { CPPUNIT_ASSERT_EQUAL(+css::uno::TypeClass_VOID, +t.getTypeClass()); CPPUNIT_ASSERT_EQUAL( ::rtl::OUString("void"), t.getTypeName()); + CPPUNIT_ASSERT(cppu::UnoType<void>::get() == t); t = ::cppu::UnoType< bool >::get(); CPPUNIT_ASSERT_EQUAL(+css::uno::TypeClass_BOOLEAN, +t.getTypeClass()); CPPUNIT_ASSERT_EQUAL( |