summaryrefslogtreecommitdiff
path: root/vcl/source/components/fontident.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/components/fontident.cxx')
-rw-r--r--vcl/source/components/fontident.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/components/fontident.cxx b/vcl/source/components/fontident.cxx
index d80dd74f59fa..11066c63ae9e 100644
--- a/vcl/source/components/fontident.cxx
+++ b/vcl/source/components/fontident.cxx
@@ -154,9 +154,7 @@ Any SAL_CALL FontIdentificator::getMaterial() throw(RuntimeException, std::excep
Sequence< OUString > FontIdentificator_getSupportedServiceNames()
{
- OUString aServiceName( "com.sun.star.awt.FontIdentificator" );
- Sequence< OUString > aServiceNames( &aServiceName, 1 );
- return aServiceNames;
+ return Sequence< OUString >{ "com.sun.star.awt.FontIdentificator" };
}
OUString FontIdentificator_getImplementationName()