diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-17 19:40:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-17 19:40:58 +0200 |
commit | bb1e59d596ffa29d40b4538e18a08e5e91d469a9 (patch) | |
tree | ebc795d45b683f7268788f57db7baa3ddfb9285e /include/comphelper/propertycontainerhelper.hxx | |
parent | 45c2410041c48c22bd860efb42d4daadad7869b0 (diff) |
Simplify OPropertyContainerHelper::registerPropertyNoMember's _pInitialValue
Change-Id: Ibfb27b3eded45e2646dada37ce3663f427985ae9
Diffstat (limited to 'include/comphelper/propertycontainerhelper.hxx')
-rw-r--r-- | include/comphelper/propertycontainerhelper.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 |