summaryrefslogtreecommitdiff
path: root/forms/source/xforms/datatypes.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/datatypes.hxx')
-rw-r--r--forms/source/xforms/datatypes.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx
index d436059a6dad..383624d59d0b 100644
--- a/forms/source/xforms/datatypes.hxx
+++ b/forms/source/xforms/datatypes.hxx
@@ -234,7 +234,7 @@ namespace xforms
protected:
typedef VALUE_TYPE ValueType;
inline const ::com::sun::star::uno::Type&
- getCppuType() const { return ::getCppuType( static_cast< ValueType* >( NULL ) ); }
+ getCppuType() const { return cppu::UnoType<ValueType>::get(); }
protected:
OValueLimitedType( const OUString& _rName, sal_Int16 _nTypeClass );