diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-24 16:23:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-25 19:00:44 +0200 |
commit | 18321eb3f447c9e6519e1691673677fc8a2c8117 (patch) | |
tree | 5bc66cbd208485d26048af9a37f39972b314cf4b /filter | |
parent | a0731f14d1b9c86a626e8560053d87dcaaef8ad6 (diff) |
elide some OUString allocation
Change-Id: Idcb296980ea498373a0fb4f8c0c584eef2c5c9f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134922
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/filterfactory.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx index e16ac3a2678d..e083614c04a8 100644 --- a/filter/source/config/cache/filterfactory.cxx +++ b/filter/source/config/cache/filterfactory.cxx @@ -55,8 +55,9 @@ FilterCache& GetTheFilterCache() FilterFactory::FilterFactory(const css::uno::Reference< css::uno::XComponentContext >& rxContext) : m_xContext(rxContext) { + static const css::uno::Sequence<OUString> sServiceNames { "com.sun.star.document.FilterFactory" }; BaseContainer::init("com.sun.star.comp.filter.config.FilterFactory" , - { "com.sun.star.document.FilterFactory" }, + sServiceNames, FilterCache::E_FILTER ); } |