diff options
Diffstat (limited to 'comphelper/source/property/genericpropertyset.cxx')
-rw-r--r-- | comphelper/source/property/genericpropertyset.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx index 383c26762c94..42b3a9f71b97 100644 --- a/comphelper/source/property/genericpropertyset.cxx +++ b/comphelper/source/property/genericpropertyset.cxx @@ -256,8 +256,7 @@ OUString SAL_CALL GenericPropertySet::getImplementationName() throw( RuntimeExce Sequence< OUString > SAL_CALL GenericPropertySet::getSupportedServiceNames( ) throw( RuntimeException, std::exception ) { - Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[0] = "com.sun.star.beans.XPropertySet"; + Sequence<OUString> aSNS { "com.sun.star.beans.XPropertySet" }; return aSNS; } |