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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 55340b4b91d5..328e50f0aba0 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -17,6 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <initializer_list> + #include <com/sun/star/awt/XBitmap.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> @@ -47,7 +51,6 @@ #include <svx/unoshape.hxx> #include <svl/style.hxx> #include <comphelper/extract.hxx> -#include <comphelper/OUStringLiteralList.hxx> #include <comphelper/sequence.hxx> #include <svx/svditer.hxx> #include <vcl/wmf.hxx> @@ -1489,9 +1492,9 @@ Sequence< OUString > SAL_CALL SdGenericDrawPage::getSupportedServiceNames() { return comphelper::concatSequences( SvxFmDrawPage::getSupportedServiceNames(), - comphelper::OUStringLiteralList({ "com.sun.star.drawing.GenericDrawPage", + std::initializer_list<OUStringLiteral>{ "com.sun.star.drawing.GenericDrawPage", "com.sun.star.document.LinkTarget", - "com.sun.star.document.LinkTargetSupplier" })); + "com.sun.star.document.LinkTargetSupplier" }); } // XLinkTargetSupplier |