diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-02 11:26:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-02 12:37:11 +0000 |
commit | 52c2111e4f466edf77e3eee17fc9c283f3b69100 (patch) | |
tree | 2cceb8d9131054a0e7791ce4124e50819c11ccd8 /accessibility | |
parent | c32aa53a7df7af4ef23b8d235483eabb51463183 (diff) |
callcatcher: remove some unused methods
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx | 5 | ||||
-rw-r--r-- | accessibility/source/standard/vclxaccessiblelist.cxx | 24 |
2 files changed, 0 insertions, 29 deletions
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx index 21f2f3e05a31..d96ffc617f32 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx @@ -110,11 +110,6 @@ public: virtual sal_Int16 SAL_CALL getAccessibleRole (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // XAccessibleComponent - bool SAL_CALL contains (const ::com::sun::star::awt::Point& aPoint) - throw (::com::sun::star::uno::RuntimeException); - - // XServiceInfo virtual OUString SAL_CALL getImplementationName (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx index 6b85039d537c..f9aed93e95be 100644 --- a/accessibility/source/standard/vclxaccessiblelist.cxx +++ b/accessibility/source/standard/vclxaccessiblelist.cxx @@ -600,7 +600,6 @@ sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleChildCount (void) return nCount; } - Reference<XAccessible> SAL_CALL VCLXAccessibleList::getAccessibleChild (sal_Int32 i) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { @@ -624,7 +623,6 @@ Reference<XAccessible> SAL_CALL VCLXAccessibleList::getAccessibleChild (sal_Int3 return xChild; } - Reference< XAccessible > SAL_CALL VCLXAccessibleList::getAccessibleParent( ) throw (RuntimeException, std::exception) { @@ -633,7 +631,6 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleList::getAccessibleParent( ) return m_xParent; } - sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent (void) throw (::com::sun::star::uno::RuntimeException, std::exception) { @@ -643,33 +640,12 @@ sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent (void) return VCLXAccessibleComponent::getAccessibleIndexInParent(); } - sal_Int16 SAL_CALL VCLXAccessibleList::getAccessibleRole (void) throw (RuntimeException, std::exception) { return AccessibleRole::LIST; } - -//===== XAccessibleComponent ================================================ - -bool SAL_CALL VCLXAccessibleList::contains( const awt::Point& rPoint ) throw (RuntimeException) -{ - SolarMutexGuard aSolarGuard; - ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); - - bool bInside = false; - - vcl::Window* pListBox = GetWindow(); - if ( pListBox ) - { - Rectangle aRect( Point(0,0), pListBox->GetSizePixel() ); - bInside = aRect.IsInside( VCLPoint( rPoint ) ); - } - - return bInside; -} - //===== XServiceInfo ========================================================== OUString VCLXAccessibleList::getImplementationName (void) throw (RuntimeException, std::exception) |