From 43533b80c9400efef304654a98d3b71b8430421a Mon Sep 17 00:00:00 2001 From: Frank Schönheit Date: Thu, 11 Mar 2010 12:20:02 +0000 Subject: dba321a: #i109535# grid columns now returning proper types in getTypes --- forms/source/inc/componenttools.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'forms/source/inc/componenttools.hxx') diff --git a/forms/source/inc/componenttools.hxx b/forms/source/inc/componenttools.hxx index 73771f19783a..e91573c43d2f 100644 --- a/forms/source/inc/componenttools.hxx +++ b/forms/source/inc/componenttools.hxx @@ -48,7 +48,7 @@ namespace frm typedef ::com::sun::star::uno::Type Type; public: - bool operator()( const Type& _rLHS, const Type& _rRHS ) + bool operator()( const Type& _rLHS, const Type& _rRHS ) const { return _rLHS.getTypeName() < _rRHS.getTypeName(); } @@ -85,7 +85,9 @@ namespace frm const TypeSequence& _rTypes3 ); - void addTypes( const TypeSequence& _rTypes ); + void addType( const Type& i_rType ); + void addTypes( const TypeSequence& _rTypes ); + void removeType( const Type& i_rType ); /** returns the types represented by this bag */ -- cgit v1.2.3