diff options
Diffstat (limited to 'extensions/test')
-rw-r--r-- | extensions/test/ole/cpnt/cpnt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/test/ole/cpnt/cpnt.cxx b/extensions/test/ole/cpnt/cpnt.cxx index 1e02b3601b4c..36483086ee89 100644 --- a/extensions/test/ole/cpnt/cpnt.cxx +++ b/extensions/test/ole/cpnt/cpnt.cxx @@ -1237,7 +1237,7 @@ void SAL_CALL OComponent::methodStruct(const Property& aProp) throw( RuntimeExce Property SAL_CALL OComponent::retMethodStruct(void) throw( RuntimeException ) { - Property a(L"OleTest_Property", 255, getCppuType( (Reference<XInterface>*)0), PropertyAttribute::MAYBEVOID | + Property a(L"OleTest_Property", 255, cppu::UnoType<XInterface>::get(), PropertyAttribute::MAYBEVOID | PropertyAttribute::BOUND | PropertyAttribute::CONSTRAINED | PropertyAttribute::TRANSIENT | PropertyAttribute::READONLY | PropertyAttribute::MAYBEAMBIGUOUS | PropertyAttribute::MAYBEDEFAULT ); @@ -1246,7 +1246,7 @@ Property SAL_CALL OComponent::retMethodStruct(void) throw( RuntimeException ) Property SAL_CALL OComponent::getAttrStruct(void) throw( RuntimeException) { - Property a(L"OleTest_Property", 255, getCppuType( (Reference<XInterface>*)0), PropertyAttribute::MAYBEVOID | + Property a(L"OleTest_Property", 255, cppu::UnoType<XInterface>::get(), PropertyAttribute::MAYBEVOID | PropertyAttribute::BOUND | PropertyAttribute::CONSTRAINED | PropertyAttribute::TRANSIENT | PropertyAttribute::READONLY | PropertyAttribute::MAYBEAMBIGUOUS | PropertyAttribute::MAYBEDEFAULT ); |