diff options
author | os <os@openoffice.org> | 2011-01-13 08:13:05 +0100 |
---|---|---|
committer | os <os@openoffice.org> | 2011-01-13 08:13:05 +0100 |
commit | 7f63f2b57ef35b9cdfbc8c1a1325baabda752a31 (patch) | |
tree | 1c2b46331a6ab33aed8bd1375928e4a85b68a110 /comphelper | |
parent | b55c3b0fa9830ea7d8295ef33fd994cbef2547ed (diff) | |
parent | bfc17d4b7e7462dc228d683b2d6b1ba5ebcaa3d2 (diff) |
m97 merged
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/inc/comphelper/sequenceasvector.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/comphelper/inc/comphelper/sequenceasvector.hxx b/comphelper/inc/comphelper/sequenceasvector.hxx index 263b68b24c7c..48dfe50b1645 100644 --- a/comphelper/inc/comphelper/sequenceasvector.hxx +++ b/comphelper/inc/comphelper/sequenceasvector.hxx @@ -86,6 +86,17 @@ class SequenceAsVector : public ::std::vector< TElementType > {} //--------------------------------------- + /** @short creates a new vector with the given length. + + @param nLength + the number of elements for the new vector. + */ + explicit SequenceAsVector(sal_Int32 nLength) : + ::std::vector< TElementType >( static_cast< size_t >( nLength ) ) + { + } + + //--------------------------------------- /** @short creates a new deque from the given uno sequence. @param lSource |