diff options
Diffstat (limited to 'connectivity/source/commontools/ParamterSubstitution.cxx')
-rw-r--r-- | connectivity/source/commontools/ParamterSubstitution.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/commontools/ParamterSubstitution.cxx b/connectivity/source/commontools/ParamterSubstitution.cxx index 1ed3792b5688..ebe096f0f232 100644 --- a/connectivity/source/commontools/ParamterSubstitution.cxx +++ b/connectivity/source/commontools/ParamterSubstitution.cxx @@ -62,8 +62,7 @@ namespace connectivity Sequence< OUString > ParameterSubstitution::getSupportedServiceNames_Static( ) throw (RuntimeException) { - Sequence< OUString > aSNS( 1 ); - aSNS[0] = "com.sun.star.sdb.ParameterSubstitution"; + Sequence<OUString> aSNS { "com.sun.star.sdb.ParameterSubstitution" }; return aSNS; } |