summaryrefslogtreecommitdiff
path: root/sd/source/core/stlfamily.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/core/stlfamily.cxx')
-rw-r--r--sd/source/core/stlfamily.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/core/stlfamily.cxx b/sd/source/core/stlfamily.cxx
index 47ef8a93af51..bb332e7939ab 100644
--- a/sd/source/core/stlfamily.cxx
+++ b/sd/source/core/stlfamily.cxx
@@ -175,9 +175,7 @@ sal_Bool SAL_CALL SdStyleFamily::supportsService( const OUString& ServiceName )
Sequence< OUString > SAL_CALL SdStyleFamily::getSupportedServiceNames()
{
- OUString aServiceName( "com.sun.star.style.StyleFamily" );
- Sequence< OUString > aSeq( &aServiceName, 1 );
- return aSeq;
+ return { "com.sun.star.style.StyleFamily" };
}
// XNamed