summaryrefslogtreecommitdiff
path: root/comphelper/source/property/genericpropertyset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/property/genericpropertyset.cxx')
-rw-r--r--comphelper/source/property/genericpropertyset.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx
index 5ce4ab16bade..2ddb513a7cc9 100644
--- a/comphelper/source/property/genericpropertyset.cxx
+++ b/comphelper/source/property/genericpropertyset.cxx
@@ -265,7 +265,7 @@ Sequence< OUString > SAL_CALL GenericPropertySet::getSupportedServiceNames( )
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > comphelper::GenericPropertySet_CreateInstance( comphelper::PropertySetInfo* pInfo )
{
- return (XPropertySet*)new GenericPropertySet( pInfo );
+ return static_cast<XPropertySet*>(new GenericPropertySet( pInfo ));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */