diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2012-08-13 15:04:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-14 10:39:13 +0200 |
commit | ed93117447a3217fab0e2425f8761e24423024b5 (patch) | |
tree | 2e178188bef319d1a1e5594acd5732e9959e35a8 /forms/source/inc/property.hxx | |
parent | 9272ce4e6f54bc283bbbe6106f66fd48c4ce8d82 (diff) |
fdo#53061: Fix for C++11 #define NULL nullptr
Change-Id: Ia1805aab4bec7fef02c96ec4e7a7a0ed9991d3c3
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'forms/source/inc/property.hxx')
-rw-r--r-- | forms/source/inc/property.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index 81102c609a20..025cc8d7604b 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -113,7 +113,7 @@ public: //------------------------------------------------------------------------------ #define DECL_PROP_IMPL(varname, type) \ - *pProperties++ = com::sun::star::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, ::getCppuType(reinterpret_cast< type* >(NULL)), + *pProperties++ = com::sun::star::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, ::getCppuType(static_cast< type* >(0)), //------------------------------------------------------------------------------ #define DECL_BOOL_PROP_IMPL(varname) \ @@ -121,7 +121,7 @@ public: //------------------------------------------------------------------------------ #define DECL_IFACE_PROP_IMPL(varname, type) \ - *pProperties++ = com::sun::star::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, ::getCppuType(reinterpret_cast< com::sun::star::uno::Reference< type >* >(NULL)), + *pProperties++ = com::sun::star::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, ::getCppuType(static_cast< com::sun::star::uno::Reference< type >* >(0)), //------------------------------------------------------------------------------ #define BEGIN_DESCRIBE_PROPERTIES( count, baseclass ) \ |