summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/CommonTools.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/connectivity/CommonTools.hxx b/include/connectivity/CommonTools.hxx
index 7a798c6e4696..55471fe83a1b 100644
--- a/include/connectivity/CommonTools.hxx
+++ b/include/connectivity/CommonTools.hxx
@@ -166,8 +166,7 @@ namespace connectivity
} \
css::uno::Sequence< OUString > SAL_CALL classname::getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) \
{ \
- css::uno::Sequence< OUString > aSupported(1); \
- aSupported[0] = serviceasciiname; \
+ css::uno::Sequence< OUString > aSupported { serviceasciiname }; \
return aSupported; \
} \
sal_Bool SAL_CALL classname::supportsService( const OUString& _rServiceName ) throw(css::uno::RuntimeException, std::exception) \