summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider/propertyvalueset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper/source/provider/propertyvalueset.cxx')
-rw-r--r--ucbhelper/source/provider/propertyvalueset.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/provider/propertyvalueset.cxx b/ucbhelper/source/provider/propertyvalueset.cxx
index d962af6052d3..1732e7085564 100644
--- a/ucbhelper/source/provider/propertyvalueset.cxx
+++ b/ucbhelper/source/provider/propertyvalueset.cxx
@@ -226,7 +226,7 @@ class PropertyValues : public PropertyValuesVector {};
GETVALUE_IMPL_TYPE( _type_, \
_type_name_, \
_member_name_, \
- getCppuType( static_cast< const _type_ * >( 0 ) ) )
+ cppu::UnoType<_type_>::get() )
#define SETVALUE_IMPL( _prop_name_, _type_name_, _member_name_, _value_ ) \
\
@@ -333,7 +333,7 @@ sal_Bool SAL_CALL PropertyValueSet::getBoolean( sal_Int32 columnIndex )
throw( SQLException, RuntimeException, std::exception )
{
GETVALUE_IMPL_TYPE(
- bool, BOOLEAN_VALUE_SET, bBoolean, getCppuBooleanType() );
+ bool, BOOLEAN_VALUE_SET, bBoolean, cppu::UnoType<bool>::get() );
}