diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 09:07:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 23:42:26 +0000 |
commit | 309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch) | |
tree | f8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /svx/source/accessibility/charmapacc.cxx | |
parent | 20deac4903fc0697477e855feeff482b3da234f9 (diff) |
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after...
commit b44cbb26efe1d0b0950b1e1613e131b506dc3876
Author: Noel Grandin <noel@peralex.com>
Date: Tue Jan 20 12:38:10 2015 +0200
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden.
In the case of pure-virtual methods, we remove the method entirely.
Sometimes this leads to entire methods and fields being
eliminated.
Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'svx/source/accessibility/charmapacc.cxx')
-rw-r--r-- | svx/source/accessibility/charmapacc.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx index ed94dac21a7c..b52d8d8051f4 100644 --- a/svx/source/accessibility/charmapacc.cxx +++ b/svx/source/accessibility/charmapacc.cxx @@ -108,12 +108,6 @@ uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetVirtual return xRet; } -uno::Any SAL_CALL SvxShowCharSetVirtualAcc::getAccessibleKeyBinding() - throw (uno::RuntimeException) -{ - return uno::Any(); -} - void SAL_CALL SvxShowCharSetVirtualAcc::grabFocus() throw (uno::RuntimeException, std::exception) { @@ -122,8 +116,6 @@ void SAL_CALL SvxShowCharSetVirtualAcc::grabFocus() mpParent->GrabFocus(); } - - Reference< XAccessible > SAL_CALL SvxShowCharSetVirtualAcc::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -481,9 +473,6 @@ uno::Reference< css::accessibility::XAccessible > SAL_CALL SvxShowCharSetAcc::ge return xRet; } - - - void SAL_CALL SvxShowCharSetAcc::grabFocus() throw (uno::RuntimeException, std::exception) { @@ -492,14 +481,6 @@ void SAL_CALL SvxShowCharSetAcc::grabFocus() m_pParent->getCharSetControl()->GrabFocus(); } - - -uno::Any SAL_CALL SvxShowCharSetAcc::getAccessibleKeyBinding() - throw (uno::RuntimeException) -{ - return uno::Any(); -} - sal_Int32 SAL_CALL SvxShowCharSetAcc::getAccessibleRowCount( ) throw (RuntimeException, std::exception) { return ((getAccessibleChildCount()-1) / COLUMN_COUNT) + 1; @@ -781,21 +762,12 @@ uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL SvxShowCharSe return pStateSet; } - void SAL_CALL SvxShowCharSetItemAcc::grabFocus() throw (uno::RuntimeException, std::exception) { // nothing to do } - - -uno::Any SAL_CALL SvxShowCharSetItemAcc::getAccessibleKeyBinding() - throw (uno::RuntimeException) -{ - return uno::Any(); -} - awt::Rectangle SvxShowCharSetItemAcc::implGetBounds( ) throw (RuntimeException) { awt::Rectangle aRet; |