diff options
author | Frank Schönheit <fs@openoffice.org> | 2000-11-29 07:18:43 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2000-11-29 07:18:43 +0000 |
commit | c7aa9e3ebf90b1e2fabed43be09f23efcb69cc5d (patch) | |
tree | a3f9b707ab895a266d218765a22b4ed4688f6674 /comphelper/source/property/propertycontainer.cxx | |
parent | e3156f61eb7e3aed5cc5b504443ab7c9bf38360c (diff) |
arghhh ... build the correct attributes in registerMayBeVoidProperty now (hopefully ...)
Diffstat (limited to 'comphelper/source/property/propertycontainer.cxx')
-rw-r--r-- | comphelper/source/property/propertycontainer.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/comphelper/source/property/propertycontainer.cxx b/comphelper/source/property/propertycontainer.cxx index 4a75e2a575cb..8eb221a38d85 100644 --- a/comphelper/source/property/propertycontainer.cxx +++ b/comphelper/source/property/propertycontainer.cxx @@ -2,9 +2,9 @@ * * $RCSfile: propertycontainer.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: fs $ $Date: 2000-11-19 10:24:07 $ + * last change: $Author: fs $ $Date: 2000-11-29 08:18:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -151,7 +151,7 @@ void OPropertyContainer::registerMayBeVoidProperty(const ::rtl::OUString& _rName OSL_ENSHURE(_pPointerToMember, "OPropertyContainer::registerMayBeVoidProperty : you gave me nonsense : the pointer must be non-NULL"); - _nAttributes &= ~PropertyAttribute::MAYBEVOID; + _nAttributes |= PropertyAttribute::MAYBEVOID; PropertyDescription aNewProp; aNewProp.sName = _rName; @@ -448,6 +448,9 @@ void OPropertyContainer::describeProperties(Sequence< Property >& _rProps) const /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.4 2000/11/19 10:24:07 fs + * registerMayBeVoidProperty: don't corrupt _nAttributes anymore + * * Revision 1.3 2000/10/13 12:10:21 oj * impl dtor to avoid wrong delete call * |