summaryrefslogtreecommitdiff
path: root/comphelper/source/container/NamedPropertyValuesContainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/container/NamedPropertyValuesContainer.cxx')
-rw-r--r--comphelper/source/container/NamedPropertyValuesContainer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/comphelper/source/container/NamedPropertyValuesContainer.cxx b/comphelper/source/container/NamedPropertyValuesContainer.cxx
index 5cc30b1cf954..13b8f855866f 100644
--- a/comphelper/source/container/NamedPropertyValuesContainer.cxx
+++ b/comphelper/source/container/NamedPropertyValuesContainer.cxx
@@ -151,9 +151,7 @@ sal_Bool SAL_CALL NamedPropertyValuesContainer::supportsService( const OUString&
css::uno::Sequence< OUString > SAL_CALL NamedPropertyValuesContainer::getSupportedServiceNames( )
{
- const OUString aServiceName( "com.sun.star.document.NamedPropertyValues" );
- const uno::Sequence< OUString > aSeq( &aServiceName, 1 );
- return aSeq;
+ return { "com.sun.star.document.NamedPropertyValues" };
}
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *