diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2011-06-03 21:52:10 -0430 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-06-09 21:49:46 +0200 |
commit | 95ae7d1d059d32beaaf316bb0f14d89182041c41 (patch) | |
tree | 6916abfa4c695a71f21340faabda50c3d15d95c9 /sc/source/ui/inc/dbdocfun.hxx | |
parent | aba7233bc7aba525d850a57e4fef3c2a12fa5f69 (diff) |
Replace SbaSelectionList with std::vector<sal_Int32>.
Remove SbaSelectionList and SV_DECL_IMPL_REF(SbaSelectionList).
Diffstat (limited to 'sc/source/ui/inc/dbdocfun.hxx')
-rw-r--r-- | sc/source/ui/inc/dbdocfun.hxx | 16 |
1 files changed, 2 insertions, 14 deletions
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<sal_Int32> *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<sal_Int32> *pSelection, bool bRecord, bool bAddrInsert = false ); bool DoImportUno( const ScAddress& rPos, |