summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-01 14:53:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-01 14:54:13 +0200
commit49c7bc5af291dbf6b34bcea82c9c0513f65b308b (patch)
tree6c0c073bd2f5ea9709f760bc90d44439c5e71830 /accessibility/source/extended/accessibleiconchoicectrlentry.cxx
parent53949256dd1fb0741009cc46e112ba3a00c33b39 (diff)
loplugin:expandablemethods in accessibility
Change-Id: I51d13c12274d99623b97f611e30204bea624cbfc
Diffstat (limited to 'accessibility/source/extended/accessibleiconchoicectrlentry.cxx')
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx18
1 files changed, 3 insertions, 15 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index d60fe598557d..591c254e775a 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -232,31 +232,19 @@ throw(RuntimeException, std::exception)
OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getImplementationName() throw(RuntimeException, std::exception)
{
- return getImplementationName_Static();
+ return OUString( "com.sun.star.comp.svtools.AccessibleIconChoiceControlEntry" );
}
Sequence< OUString > SAL_CALL AccessibleIconChoiceCtrlEntry::getSupportedServiceNames() throw(RuntimeException, std::exception)
{
- return getSupportedServiceNames_Static();
- }
-
- sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::supportsService( const OUString& _rServiceName ) throw (RuntimeException, std::exception)
- {
- return cppu::supportsService(this, _rServiceName);
- }
-
- // XServiceInfo - static methods
-
- Sequence< OUString > AccessibleIconChoiceCtrlEntry::getSupportedServiceNames_Static() throw( RuntimeException )
- {
return {"com.sun.star.accessibility.AccessibleContext",
"com.sun.star.accessibility.AccessibleComponent",
"com.sun.star.awt.AccessibleIconChoiceControlEntry"};
}
- OUString AccessibleIconChoiceCtrlEntry::getImplementationName_Static() throw( RuntimeException )
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::supportsService( const OUString& _rServiceName ) throw (RuntimeException, std::exception)
{
- return OUString( "com.sun.star.comp.svtools.AccessibleIconChoiceControlEntry" );
+ return cppu::supportsService(this, _rServiceName);
}
// XAccessible