summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 11:49:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 11:13:34 +0000
commita71d6a2a847828b737e5b6cc5eefe877613085b7 (patch)
tree2fe758330a61cab221715749973911acbc82aa88 /dbaccess/source/ui/querydesign/TableWindowAccess.cxx
parentcrashtesting: crash on reexport of fdo58980-3.odt to odt (diff)
downloadcore-a71d6a2a847828b737e5b6cc5eefe877613085b7.tar.gz
core-a71d6a2a847828b737e5b6cc5eefe877613085b7.zip
loplugin:expandablemethods in dbaccess
Change-Id: I6087a3eff46926646ac1637615a0af30b38956a4 Reviewed-on: https://gerrit.libreoffice.org/30712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindowAccess.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowAccess.cxx17
1 files changed, 3 insertions, 14 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
index 4f05820f7960..6a2a609701dc 100644
--- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
@@ -70,23 +70,12 @@ namespace dbaui
}
OUString SAL_CALL OTableWindowAccess::getImplementationName() throw(RuntimeException, std::exception)
{
- return getImplementationName_Static();
+ return OUString("org.openoffice.comp.dbu.TableWindowAccessibility");
}
Sequence< OUString > SAL_CALL OTableWindowAccess::getSupportedServiceNames() throw(RuntimeException, std::exception)
{
- return getSupportedServiceNames_Static();
- }
- // XServiceInfo - static methods
- Sequence< OUString > OTableWindowAccess::getSupportedServiceNames_Static() throw( RuntimeException )
- {
- Sequence< OUString > aSupported(2);
- aSupported[0] = "com.sun.star.accessibility.Accessible";
- aSupported[1] = "com.sun.star.accessibility.AccessibleContext";
- return aSupported;
- }
- OUString OTableWindowAccess::getImplementationName_Static() throw( RuntimeException )
- {
- return OUString("org.openoffice.comp.dbu.TableWindowAccessibility");
+ return { "com.sun.star.accessibility.Accessible",
+ "com.sun.star.accessibility.AccessibleContext" };
}
// XAccessibleContext
sal_Int32 SAL_CALL OTableWindowAccess::getAccessibleChildCount( ) throw (RuntimeException, std::exception)