summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-11-16 11:35:58 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-11-16 14:07:45 +0100
commit51eb969cb77f8b54681033f4959b15ce32116b56 (patch)
treedb2c03214965a7575df5bf0c0c5aa970f40be57b /comphelper
parent742f59eaa38a3f13b6110573b1428de45c55b035 (diff)
Replace comphelper::ServiceInfoHelper::addToSequence
Change-Id: I325e16fdf9bbbc6f2ba2d06c417da5eeb0d48023 Reviewed-on: https://gerrit.libreoffice.org/82975 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/Library_comphelper.mk1
-rw-r--r--comphelper/source/misc/serviceinfohelper.cxx42
2 files changed, 0 insertions, 43 deletions
diff --git a/comphelper/Library_comphelper.mk b/comphelper/Library_comphelper.mk
index 6539844d3cf2..e0bf1a8574f5 100644
--- a/comphelper/Library_comphelper.mk
+++ b/comphelper/Library_comphelper.mk
@@ -128,7 +128,6 @@ $(eval $(call gb_Library_add_exception_objects,comphelper,\
comphelper/source/misc/SelectionMultiplex \
comphelper/source/misc/sequenceashashmap \
comphelper/source/misc/servicedecl \
- comphelper/source/misc/serviceinfohelper \
comphelper/source/misc/sharedmutex \
comphelper/source/misc/simplefileaccessinteraction \
comphelper/source/misc/solarmutex \
diff --git a/comphelper/source/misc/serviceinfohelper.cxx b/comphelper/source/misc/serviceinfohelper.cxx
deleted file mode 100644
index 59cb0ea60b2d..000000000000
--- a/comphelper/source/misc/serviceinfohelper.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-
-#include <comphelper/serviceinfohelper.hxx>
-#include <com/sun/star/uno/Sequence.hxx>
-
-namespace comphelper
-{
-
-/** this method adds a variable number of OUString to a given Sequence
- */
-void ServiceInfoHelper::addToSequence( css::uno::Sequence< OUString >& rSeq, std::initializer_list<OUString> services ) throw()
-{
- sal_uInt32 nCount = rSeq.getLength();
-
- rSeq.realloc( nCount + services.size() );
- OUString* pStrings = rSeq.getArray();
-
- for( auto const & s: services )
- pStrings[nCount++] = s;
-}
-
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */