summaryrefslogtreecommitdiffstats
path: root/accessibility/source/standard/vclxaccessiblelist.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-29 09:07:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-29 23:42:26 +0000
commit309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch)
treef8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /accessibility/source/standard/vclxaccessiblelist.cxx
parentimages: Don't fallback to indrustrial, it's merged to tango during build. (diff)
downloadcore-309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83.tar.gz
core-309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83.zip
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 'accessibility/source/standard/vclxaccessiblelist.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index f5b103433db9..6b85039d537c 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -670,45 +670,13 @@ bool SAL_CALL VCLXAccessibleList::contains( const awt::Point& rPoint ) throw (Ru
return bInside;
}
-
-Reference< XAccessible > SAL_CALL VCLXAccessibleList::getAccessibleAt( const awt::Point& rPoint )
- throw (RuntimeException)
-{
- SolarMutexGuard aSolarGuard;
- ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
-
- Reference< XAccessible > xChild;
- if ( m_pListBoxHelper )
- {
- UpdateVisibleLineCount();
- if ( contains( rPoint ) && m_nVisibleLineCount > 0 )
- {
- Point aPos = VCLPoint( rPoint );
- sal_uInt16 nEndPos = m_pListBoxHelper->GetTopEntry() + (sal_uInt16)m_nVisibleLineCount;
- for ( sal_uInt16 i = m_pListBoxHelper->GetTopEntry(); i < nEndPos; ++i )
- {
- if ( m_pListBoxHelper->GetBoundingRectangle(i).IsInside( aPos ) )
- {
- xChild = getAccessibleChild(i);
- break;
- }
- }
- }
- }
-
- return xChild;
-}
-
-
//===== XServiceInfo ==========================================================
-
OUString VCLXAccessibleList::getImplementationName (void)
throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.toolkit.AccessibleList" );
}
-
Sequence< OUString > VCLXAccessibleList::getSupportedServiceNames (void)
throw (RuntimeException, std::exception)
{
@@ -719,7 +687,6 @@ Sequence< OUString > VCLXAccessibleList::getSupportedServiceNames (void)
return aNames;
}
-
void VCLXAccessibleList::UpdateVisibleLineCount()
{
if ( m_pListBoxHelper )
@@ -736,7 +703,6 @@ void VCLXAccessibleList::UpdateVisibleLineCount()
}
}
-
void VCLXAccessibleList::UpdateEntryRange_Impl()
{
SolarMutexGuard aSolarGuard;