summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-22 22:12:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-24 19:37:29 +0000
commit68d88e2bda287f5656b7c1631dc4ac3e72e2f303 (patch)
tree89ee1604db2698185fdfbf31f46c90960049b759 /include
parentb477a9e0b620a5e1c709e404c5a4e816ef5794f1 (diff)
Remove unused comphelper::MakeSequence
Change-Id: I0f34fddbfd709455f1aa2f1bfaa70d72a2752f74 Reviewed-on: https://gerrit.libreoffice.org/24342 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/InlineContainer.hxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/comphelper/InlineContainer.hxx b/include/comphelper/InlineContainer.hxx
index 384203af9f6a..d5c3e108896c 100644
--- a/include/comphelper/InlineContainer.hxx
+++ b/include/comphelper/InlineContainer.hxx
@@ -19,40 +19,12 @@
#ifndef INCLUDED_COMPHELPER_INLINECONTAINER_HXX
#define INCLUDED_COMPHELPER_INLINECONTAINER_HXX
-#include <com/sun/star/uno/Sequence.hxx>
-
#include <map>
#include <set>
namespace comphelper
{
-/** Creates a UNO-Sequence which contains an arbitrary number of elements.
- Notice, that every call of the operator() issues a realloc, so this is not
- suitable to create very large sequences.
-
- usage:
-
- uno::Sequence< t >( MakeSequence< t >( t_1 )( t_2 )...( t_n ) );
- */
-template < typename T >
-class MakeSequence : public css::uno::Sequence< T >
-{
-public:
- explicit MakeSequence(const T &a)
- : css::uno::Sequence< T >( 1 )
- {
- this->operator[](0) = a;
- }
- MakeSequence& operator()(const T &a)
- {
- this->realloc( this->getLength() + 1 );
- this->operator[]( this->getLength() - 1 ) = a;
- return *this;
- }
-};
-
-
/** Creates a set which contains an arbitrary number of elements.
usage: