summaryrefslogtreecommitdiff
path: root/comphelper/inc
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2010-05-21 10:11:51 +0200
committerDaniel Rentz <dr@openoffice.org>2010-05-21 10:11:51 +0200
commitfb8617e2f546078eab1ef132134d96bc768d63f7 (patch)
treea8d2427b8a493f678f1bd36aa9a9b608f7187f48 /comphelper/inc
parent63c03e7f1bb7349cd4168ed30a0535f7c928207f (diff)
parent51066323fd14918f65ea7ba66e14b9c7604eb978 (diff)
npower13_objectmodules: rebase and merge with DEV300_m78
Diffstat (limited to 'comphelper/inc')
-rw-r--r--comphelper/inc/comphelper/namedvaluecollection.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/comphelper/inc/comphelper/namedvaluecollection.hxx b/comphelper/inc/comphelper/namedvaluecollection.hxx
index 81aed9171408..72cd0e7cdfbe 100644
--- a/comphelper/inc/comphelper/namedvaluecollection.hxx
+++ b/comphelper/inc/comphelper/namedvaluecollection.hxx
@@ -61,6 +61,8 @@ namespace comphelper
NamedValueCollection( const NamedValueCollection& _rCopySource );
+ NamedValueCollection& operator=( const NamedValueCollection& i_rCopySource );
+
/** constructs a collection
@param _rElements
the wrapped elements of the collection. The <code>Any</code> might contain a sequence of
@@ -104,6 +106,11 @@ namespace comphelper
impl_assign( _rArguments );
}
+ inline void clear()
+ {
+ impl_assign( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >() );
+ }
+
/// returns the number of elements in the collection
size_t size() const;