summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-24 16:18:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-25 09:15:39 +0100
commitd96a2f432fb391d01e354236a440181058b332c2 (patch)
tree6510ed9efc97518d1fe86f3aa46754f40b91e570 /accessibility
parentc6b2b5f34c66e51583f01caa0cf06c6e1c3980c0 (diff)
Remove dead code
Change-Id: Ia9035189bd01d3a3e5e3222760fc392f3f78880f
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx12
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx12
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxBase.cxx25
-rw-r--r--accessibility/source/extended/AccessibleGridControlBase.cxx24
4 files changed, 0 insertions, 73 deletions
diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
index 8732fcf3d791..b73347b2f917 100644
--- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
@@ -194,18 +194,6 @@ public:
virtual ::com::sun::star::awt::Size SAL_CALL getSize()
throw ( ::com::sun::star::uno::RuntimeException, std::exception );
- /** @return <TRUE/>, if the object is showing. */
- virtual sal_Bool SAL_CALL isShowing()
- throw ( ::com::sun::star::uno::RuntimeException );
-
- /** @return <TRUE/>, if the object is visible. */
- virtual sal_Bool SAL_CALL isVisible()
- throw ( ::com::sun::star::uno::RuntimeException );
-
- /** @return <TRUE/>, if the object can accept the focus. */
- virtual sal_Bool SAL_CALL isFocusTraversable()
- throw ( ::com::sun::star::uno::RuntimeException );
-
virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
index 772a4bc301ea..689c2f79d8aa 100644
--- a/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
@@ -171,18 +171,6 @@ public:
virtual ::com::sun::star::awt::Size SAL_CALL getSize()
throw ( ::com::sun::star::uno::RuntimeException, std::exception );
- /** @return <TRUE/>, if the object is showing. */
- virtual sal_Bool SAL_CALL isShowing()
- throw ( ::com::sun::star::uno::RuntimeException );
-
- /** @return <TRUE/>, if the object is visible. */
- virtual sal_Bool SAL_CALL isVisible()
- throw ( ::com::sun::star::uno::RuntimeException );
-
- /** @return <TRUE/>, if the object can accept the focus. */
- virtual sal_Bool SAL_CALL isFocusTraversable()
- throw ( ::com::sun::star::uno::RuntimeException );
-
virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
diff --git a/accessibility/source/extended/AccessibleBrowseBoxBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
index 4c7bdfe65003..2ed652480677 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
@@ -243,31 +243,6 @@ awt::Size SAL_CALL AccessibleBrowseBoxBase::getSize()
return AWTSize( getBoundingBox().GetSize() );
}
-sal_Bool SAL_CALL AccessibleBrowseBoxBase::isShowing()
- throw ( uno::RuntimeException )
-{
- SolarMutexGuard aSolarGuard;
- ::osl::MutexGuard aGuard( getOslMutex() );
- ensureIsAlive();
- return implIsShowing();
-}
-
-sal_Bool SAL_CALL AccessibleBrowseBoxBase::isVisible()
- throw ( uno::RuntimeException )
-{
- Reference< XAccessibleStateSet > xStateSet = getAccessibleStateSet();
- return xStateSet.is() ?
- xStateSet->contains( AccessibleStateType::VISIBLE ) : sal_False;
-}
-
-sal_Bool SAL_CALL AccessibleBrowseBoxBase::isFocusTraversable()
- throw ( uno::RuntimeException )
-{
- Reference< XAccessibleStateSet > xStateSet = getAccessibleStateSet();
- return xStateSet.is() ?
- xStateSet->contains( AccessibleStateType::FOCUSABLE ) : sal_False;
-}
-
void SAL_CALL AccessibleBrowseBoxBase::focusGained( const ::com::sun::star::awt::FocusEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
com::sun::star::uno::Any aFocused;
diff --git a/accessibility/source/extended/AccessibleGridControlBase.cxx b/accessibility/source/extended/AccessibleGridControlBase.cxx
index 5e188f04a5dd..ae4dd5b91e9a 100644
--- a/accessibility/source/extended/AccessibleGridControlBase.cxx
+++ b/accessibility/source/extended/AccessibleGridControlBase.cxx
@@ -219,30 +219,6 @@ awt::Size SAL_CALL AccessibleGridControlBase::getSize()
return AWTSize( getBoundingBox().GetSize() );
}
-sal_Bool SAL_CALL AccessibleGridControlBase::isShowing()
- throw ( uno::RuntimeException )
-{
- SolarMutexGuard aSolarGuard;
-
- ensureIsAlive();
- return implIsShowing();
-}
-
-sal_Bool SAL_CALL AccessibleGridControlBase::isVisible()
- throw ( uno::RuntimeException )
-{
- Reference< XAccessibleStateSet > xStateSet = getAccessibleStateSet();
- return xStateSet.is() ?
- xStateSet->contains( AccessibleStateType::VISIBLE ) : sal_False;
-}
-
-sal_Bool SAL_CALL AccessibleGridControlBase::isFocusTraversable()
- throw ( uno::RuntimeException )
-{
- Reference< XAccessibleStateSet > xStateSet = getAccessibleStateSet();
- return xStateSet.is() ?
- xStateSet->contains( AccessibleStateType::FOCUSABLE ) : sal_False;
-}
// XAccessibleEventBroadcaster ------------------------------------------------
void SAL_CALL AccessibleGridControlBase::addAccessibleEventListener(