diff options
Diffstat (limited to 'svx/source/tbxctrls/fontworkgallery.cxx')
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index 23ebb5aee81f..d92e3e57f65d 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -395,8 +395,7 @@ OUString SAL_CALL FontworkAlignmentControl_getImplementationName() Sequence< OUString > SAL_CALL FontworkAlignmentControl_getSupportedServiceNames() throw( RuntimeException ) { - Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[0] = "com.sun.star.frame.ToolbarController"; + Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" }; return aSNS; } @@ -631,8 +630,7 @@ OUString SAL_CALL FontworkCharacterSpacingControl_getImplementationName() Sequence< OUString > SAL_CALL FontworkCharacterSpacingControl_getSupportedServiceNames() throw( RuntimeException ) { - Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[0] = "com.sun.star.frame.ToolbarController"; + Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" }; return aSNS; } |