diff options
Diffstat (limited to 'dbaccess/source/filter')
-rw-r--r-- | dbaccess/source/filter/xml/dbloader2.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index 84cd8273e85e..ce5b7167d478 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -208,8 +208,7 @@ Sequence< OUString > SAL_CALL DBTypeDetection::getSupportedServiceNames() throw( // ORegistryServiceManager_Static Sequence< OUString > DBTypeDetection::getSupportedServiceNames_Static() throw( ) { - Sequence< OUString > aSNS( 1 ); - aSNS[0] = "com.sun.star.document.ExtendedTypeDetection"; + Sequence<OUString> aSNS { "com.sun.star.document.ExtendedTypeDetection" }; return aSNS; } @@ -299,8 +298,7 @@ Sequence< OUString > SAL_CALL DBContentLoader::getSupportedServiceNames() throw( // ORegistryServiceManager_Static Sequence< OUString > DBContentLoader::getSupportedServiceNames_Static() throw( ) { - Sequence< OUString > aSNS( 1 ); - aSNS[0] = "com.sun.star.frame.FrameLoader"; + Sequence<OUString> aSNS { "com.sun.star.frame.FrameLoader" }; return aSNS; } |