summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider/propertyvalueset.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:42:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:42:56 +0200
commit15bdb0ae87fb7514d224657ce74e92bdad8f9c00 (patch)
tree0730892f4a3877124016ed0c2e8f76c56ebc3d05 /ucbhelper/source/provider/propertyvalueset.cxx
parent018e85387e1ed62ab8188ad4cb0728ee2a0a797c (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I0ecb96d6f26c827640f3329c81884001f860090d
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() );
}