summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/unocontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/unocontrol.cxx')
-rw-r--r--toolkit/source/controls/unocontrol.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 8f7412437667..8207e31fc095 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -1436,8 +1436,7 @@ sal_Bool UnoControl::supportsService( const OUString& rServiceName )
Sequence< OUString > UnoControl::getSupportedServiceNames( )
{
- OUString sName( "com.sun.star.awt.UnoControl" );
- return Sequence< OUString >( &sName, 1 );
+ return { "com.sun.star.awt.UnoControl" };
}