diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-20 15:26:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-20 20:53:16 +0100 |
commit | f2c402e6747f23bb289d4ebd4c6ef8ff80067348 (patch) | |
tree | 6fb93fe436931dc32d7d6c63fae01996de360eec /include/comphelper | |
parent | df24a0dc144c8f963f8567c17b2d1a1090558cdb (diff) |
Remove comphelper::OUStringLiteralList
...that had been introduced with 51eb969cb77f8b54681033f4959b15ce32116b56
"Replace comphelper::ServiceInfoHelper::addToSequence" and obsoleted by
<https://gerrit.libreoffice.org/#/c/83291/> "loplugin:redundantfcast: Don't warn
about cast from braced-init-list"
Change-Id: Ic5bb63cf4f528285587f46437a27bafbb05a07ac
Reviewed-on: https://gerrit.libreoffice.org/83315
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/OUStringLiteralList.hxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/comphelper/OUStringLiteralList.hxx b/include/comphelper/OUStringLiteralList.hxx deleted file mode 100644 index 8c149671ffdf..000000000000 --- a/include/comphelper/OUStringLiteralList.hxx +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ -/* - * 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/. - */ - -#ifndef INCLUDED_COMPHELPER_OUSTRINGLITERALLIST_HXX -#define INCLUDED_COMPHELPER_OUSTRINGLITERALLIST_HXX - -#include <sal/config.h> - -#include <initializer_list> -#include <rtl/ustring.hxx> - -namespace comphelper -{ -// Constructs std::initializer_list<OUStringLiteral> without explicit functional cast -// to avoid [loplugin:redundantfcast] warnings -inline const std::initializer_list<OUStringLiteral>& -OUStringLiteralList(const std::initializer_list<OUStringLiteral>& list) -{ - return list; -} -} - -#endif // INCLUDED_COMPHELPER_OUSTRINGLITERALLIST_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |