diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-12 17:00:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-12 17:04:47 +0100 |
commit | d79b96cf6564187c96f5a1451ca98e2c93adee77 (patch) | |
tree | d3cedc2a45b77e4e2e0109b62d359afca94f7a78 /binaryurp/source | |
parent | 7a85674c93150d6f5a59e998158909365b47d761 (diff) |
css::uno::Sequence ctor with initializer_list
(though LIBO_INTERNAL_ONLY, as it needs C++11, so cannot in general be used in
URE client code; I think it's better to not offer it outside LO at all, than
based on a feature-check macro, and thus catch accidental misuses of it via
CppunitTest_odk_checkapi)
...plus adapting binaryurp/ to use the new feature
Change-Id: I9a88a0e9eac5daf72896470e8b6a1deb1a6fc88f
Diffstat (limited to 'binaryurp/source')
-rw-r--r-- | binaryurp/source/bridgefactory.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx index 6b8994dbb152..c9d0a04259eb 100644 --- a/binaryurp/source/bridgefactory.cxx +++ b/binaryurp/source/bridgefactory.cxx @@ -52,8 +52,7 @@ OUString BridgeFactory::static_getImplementationName() { css::uno::Sequence< OUString > BridgeFactory::static_getSupportedServiceNames() { - OUString name("com.sun.star.bridge.BridgeFactory"); - return css::uno::Sequence< OUString >(&name, 1); + return css::uno::Sequence<OUString>{ "com.sun.star.bridge.BridgeFactory" }; } void BridgeFactory::removeBridge( |