From d79b96cf6564187c96f5a1451ca98e2c93adee77 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 12 Dec 2014 17:00:50 +0100 Subject: 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 --- binaryurp/source/bridgefactory.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'binaryurp/source') 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{ "com.sun.star.bridge.BridgeFactory" }; } void BridgeFactory::removeBridge( -- cgit