diff options
author | Release Engineers <releng@openoffice.org> | 2008-12-01 15:44:36 +0000 |
---|---|---|
committer | Release Engineers <releng@openoffice.org> | 2008-12-01 15:44:36 +0000 |
commit | 57654e6fc4be854da72ab48f2d65cdcefbb36cb3 (patch) | |
tree | 6294b5a218b422f4bf82c9f5b2a5d342165b61b7 /comphelper/inc | |
parent | c5f44514bf09ac2030f3beb8b0e4a2b9e22e2e37 (diff) |
CWS-TOOLING: integrate CWS sw301bf03_DEV300
Diffstat (limited to 'comphelper/inc')
-rw-r--r-- | comphelper/inc/comphelper/propertybag.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/comphelper/inc/comphelper/propertybag.hxx b/comphelper/inc/comphelper/propertybag.hxx index 50789ce045c3..3a47bd5bb4c7 100644 --- a/comphelper/inc/comphelper/propertybag.hxx +++ b/comphelper/inc/comphelper/propertybag.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: propertybag.hxx,v $ - * $Revision: 1.4 $ + * $Revision: 1.4.60.1 $ * * This file is part of OpenOffice.org. * @@ -62,12 +62,20 @@ namespace comphelper PropertyBag(); virtual ~PropertyBag(); + /** allow adding property with empty string as name + (by default, such names are rejected with IllegalActionException). + @param i_isAllowed + iff true, empty property name will be allowed + */ + void setAllowEmptyPropertyName(bool i_isAllowed = true); + /** adds a property to the bag The type of the property is determined from its initial value (<code>_rInitialValue</code>). @param _rName - the name of the new property. Must not be empty. + the name of the new property. Must not be empty unless + explicitly allowed with setAllowEmptyPropertyName. @param _nHandle the handle of the new property @param _nAttributes |