summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/sbagrid.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/browser/sbagrid.cxx')
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 1e022db90320..eba9dd077461 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -137,11 +137,8 @@ OUString SbaXGridControl::getImplementationName_Static()
Sequence< OUString> SbaXGridControl::getSupportedServiceNames_Static()
{
- Sequence< OUString> aSupported(3);
- aSupported[0] = "com.sun.star.form.control.InteractionGridControl";
- aSupported[1] = "com.sun.star.form.control.GridControl";
- aSupported[2] = "com.sun.star.awt.UnoControl";
- return aSupported;
+ return Sequence< OUString> { "com.sun.star.form.control.InteractionGridControl", "com.sun.star.form.control.GridControl",
+ "com.sun.star.awt.UnoControl" };
}
SbaXGridControl::SbaXGridControl(const Reference< XComponentContext >& _rM)