From 95ae7d1d059d32beaaf316bb0f14d89182041c41 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Fri, 3 Jun 2011 21:52:10 -0430 Subject: Replace SbaSelectionList with std::vector. Remove SbaSelectionList and SV_DECL_IMPL_REF(SbaSelectionList). --- sc/source/ui/inc/dbdocfun.hxx | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'sc/source/ui/inc/dbdocfun.hxx') diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx index 4f338f4ae0c5..ac0ed5865437 100644 --- a/sc/source/ui/inc/dbdocfun.hxx +++ b/sc/source/ui/inc/dbdocfun.hxx @@ -57,18 +57,6 @@ namespace com { namespace sun { namespace star { } } } } -// --------------------------------------------------------------------------- -// ----------------------------------------------------------------- -class SbaSelectionList: public List , public SvRefBase -{ -public: - SbaSelectionList(): - List(CONTAINER_MAXBLOCKSIZE,100,100){} -}; - -SV_DECL_IMPL_REF(SbaSelectionList) - - class ScDBDocFunc { friend class ScDBFunc; @@ -85,11 +73,11 @@ public: bool bNative, sal_uInt8 nType, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xResultSet, - const SbaSelectionList* pSelection ); + const std::vector *pSelection ); bool DoImport( SCTAB nTab, const ScImportParam& rParam, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xResultSet, - const SbaSelectionList* pSelection, bool bRecord, + const std::vector *pSelection, bool bRecord, bool bAddrInsert = false ); bool DoImportUno( const ScAddress& rPos, -- cgit