From bb1e59d596ffa29d40b4538e18a08e5e91d469a9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 17 Jun 2016 19:40:58 +0200 Subject: Simplify OPropertyContainerHelper::registerPropertyNoMember's _pInitialValue Change-Id: Ibfb27b3eded45e2646dada37ce3663f427985ae9 --- include/comphelper/propertycontainerhelper.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/comphelper') diff --git a/include/comphelper/propertycontainerhelper.hxx b/include/comphelper/propertycontainerhelper.hxx index 39bdcbf9df56..513aa88f4993 100644 --- a/include/comphelper/propertycontainerhelper.hxx +++ b/include/comphelper/propertycontainerhelper.hxx @@ -121,12 +121,12 @@ protected: @param _nHandle the handle of the property @param _nAttributes the attributes of the property @param _rType the type of the property - @param _pInitialValue the initial value of the property. May be null if _nAttributes includes + @param _pInitialValue the initial value of the property. May be void if _nAttributes includes the css::beans::PropertyAttribute::MAYBEVOID flag. - Else it must be a pointer to an object of the type described by _rType. + Else it must contain a value compatible with the type described by _rType. */ void registerPropertyNoMember(const OUString& _rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, - const css::uno::Type& _rType, const void* _pInitialValue); + const css::uno::Type& _rType, css::uno::Any const & _pInitialValue); /** revokes a previously registered property @throw css::beans::UnknownPropertyException -- cgit