diff options
Diffstat (limited to 'forms/source/misc/componenttools.cxx')
-rw-r--r-- | forms/source/misc/componenttools.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/forms/source/misc/componenttools.cxx b/forms/source/misc/componenttools.cxx index 03b1f0eff145..a4a828529e73 100644 --- a/forms/source/misc/componenttools.cxx +++ b/forms/source/misc/componenttools.cxx @@ -38,20 +38,20 @@ namespace frm //==================================================================== //= TypeBag //==================================================================== - //-------------------------------------------------------------------- + TypeBag::TypeBag( const TypeSequence& _rTypes1 ) { addTypes( _rTypes1 ); } - //-------------------------------------------------------------------- + TypeBag::TypeBag( const TypeSequence& _rTypes1, const TypeSequence& _rTypes2 ) { addTypes( _rTypes1 ); addTypes( _rTypes2 ); } - //-------------------------------------------------------------------- + TypeBag::TypeBag( const TypeSequence& _rTypes1, const TypeSequence& _rTypes2, const TypeSequence& _rTypes3 ) { addTypes( _rTypes1 ); @@ -59,7 +59,7 @@ namespace frm addTypes( _rTypes3 ); } - //-------------------------------------------------------------------- + void TypeBag::addTypes( const TypeSequence& _rTypes ) { ::std::copy( @@ -69,19 +69,19 @@ namespace frm ); } - //-------------------------------------------------------------------- + void TypeBag::addType( const Type& i_rType ) { m_aTypes.insert( i_rType ); } - //-------------------------------------------------------------------- + void TypeBag::removeType( const TypeBag::Type& i_rType ) { m_aTypes.erase( i_rType ); } - //-------------------------------------------------------------------- + TypeBag::TypeSequence TypeBag::getTypes() const { TypeSequence aTypes( m_aTypes.size() ); |