diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-28 11:44:02 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-28 11:44:02 +0100 |
commit | 112393ad5495b6eb6a4a27670272fb322d44ef99 (patch) | |
tree | c8aa9e655419a3a3fb5079c3d60b3508e6409652 /comphelper | |
parent | efe46a5077d93647b8a141e3a9b48eeab125aa06 (diff) | |
parent | ffd600e777970df0908125da66b280e1b00dbec9 (diff) |
undoapi: pulled and merged DEV300.m98
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 |