diff options
Diffstat (limited to 'dbaccess/source/ui/uno/unosqlmessage.cxx')
-rw-r--r-- | dbaccess/source/ui/uno/unosqlmessage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/uno/unosqlmessage.cxx b/dbaccess/source/ui/uno/unosqlmessage.cxx index 49b3d8310674..554a12ae83ad 100644 --- a/dbaccess/source/ui/uno/unosqlmessage.cxx +++ b/dbaccess/source/ui/uno/unosqlmessage.cxx @@ -80,8 +80,7 @@ css::uno::Sequence<OUString> SAL_CALL OSQLMessageDialog::getSupportedServiceName css::uno::Sequence<OUString> OSQLMessageDialog::getSupportedServiceNames_Static() throw(RuntimeException) { - css::uno::Sequence<OUString> aSupported(1); - aSupported.getArray()[0] = "com.sun.star.sdb.ErrorMessageDialog"; + css::uno::Sequence<OUString> aSupported { "com.sun.star.sdb.ErrorMessageDialog" }; return aSupported; } |