summaryrefslogtreecommitdiff
path: root/svtools/source/control
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control')
-rw-r--r--svtools/source/control/accessibleruler.cxx42
-rw-r--r--svtools/source/control/toolbarmenuacc.cxx31
-rw-r--r--svtools/source/control/toolbarmenuimp.hxx2
-rw-r--r--svtools/source/control/valueacc.cxx43
-rw-r--r--svtools/source/control/valueimp.hxx2
-rw-r--r--svtools/source/control/vclxaccessibleheaderbaritem.cxx13
6 files changed, 0 insertions, 133 deletions
diff --git a/svtools/source/control/accessibleruler.cxx b/svtools/source/control/accessibleruler.cxx
index c9262a8eba7c..493ccc8beed4 100644
--- a/svtools/source/control/accessibleruler.cxx
+++ b/svtools/source/control/accessibleruler.cxx
@@ -132,13 +132,7 @@ bool SAL_CALL SvtRulerAccessible::isVisible() throw( RuntimeException )
return mpRepr->IsVisible();
}
-bool SAL_CALL SvtRulerAccessible::isFocusTraversable() throw( RuntimeException )
-{
- return true;
-}
-
//===== XAccessibleContext ==================================================
-
sal_Int32 SAL_CALL SvtRulerAccessible::getAccessibleChildCount( void ) throw( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -293,36 +287,6 @@ void SAL_CALL SvtRulerAccessible::removeAccessibleEventListener( const uno::Refe
}
}
-void SAL_CALL SvtRulerAccessible::addFocusListener( const uno::Reference< awt::XFocusListener >& xListener )
- throw( RuntimeException )
-{
- if( xListener.is() )
- {
- ::osl::MutexGuard aGuard( m_aMutex );
-
- ThrowExceptionIfNotAlive();
-
- uno::Reference< awt::XWindow > xWindow = VCLUnoHelper::GetInterface( mpRepr );
- if( xWindow.is() )
- xWindow->addFocusListener( xListener );
- }
-}
-
-void SAL_CALL SvtRulerAccessible::removeFocusListener( const uno::Reference< awt::XFocusListener >& xListener )
- throw (RuntimeException)
-{
- if( xListener.is() )
- {
- ::osl::MutexGuard aGuard( m_aMutex );
-
- ThrowExceptionIfNotAlive();
-
- uno::Reference< awt::XWindow > xWindow = VCLUnoHelper::GetInterface( mpRepr );
- if( xWindow.is() )
- xWindow->removeFocusListener( xListener );
- }
-}
-
void SAL_CALL SvtRulerAccessible::grabFocus() throw( RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -333,12 +297,6 @@ void SAL_CALL SvtRulerAccessible::grabFocus() throw( RuntimeException, std::exce
mpRepr->GrabFocus();
}
-Any SAL_CALL SvtRulerAccessible::getAccessibleKeyBinding() throw( RuntimeException )
-{
- // here is no implementation, because here are no KeyBindings for every object
- return Any();
-}
-
sal_Int32 SvtRulerAccessible::getForeground( )
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
diff --git a/svtools/source/control/toolbarmenuacc.cxx b/svtools/source/control/toolbarmenuacc.cxx
index 8aab2122293b..14d05edd3df7 100644
--- a/svtools/source/control/toolbarmenuacc.cxx
+++ b/svtools/source/control/toolbarmenuacc.cxx
@@ -427,8 +427,6 @@ awt::Size SAL_CALL ToolbarMenuAcc::getSize() throw (RuntimeException, std::excep
return awt::Size( aOutSize.Width(), aOutSize.Height() );
}
-
-
void SAL_CALL ToolbarMenuAcc::grabFocus() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -436,16 +434,6 @@ void SAL_CALL ToolbarMenuAcc::grabFocus() throw (RuntimeException, std::exceptio
mpParent->mrMenu.GrabFocus();
}
-
-
-Any SAL_CALL ToolbarMenuAcc::getAccessibleKeyBinding() throw (RuntimeException)
-{
- ThrowIfDisposed();
- return Any();
-}
-
-
-
sal_Int32 SAL_CALL ToolbarMenuAcc::getForeground() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -453,8 +441,6 @@ sal_Int32 SAL_CALL ToolbarMenuAcc::getForeground() throw (RuntimeException, std:
return static_cast<sal_Int32>(nColor);
}
-
-
sal_Int32 SAL_CALL ToolbarMenuAcc::getBackground() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -462,8 +448,6 @@ sal_Int32 SAL_CALL ToolbarMenuAcc::getBackground() throw (RuntimeException, std:
return static_cast<sal_Int32>(nColor);
}
-
-
void SAL_CALL ToolbarMenuAcc::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -472,8 +456,6 @@ void SAL_CALL ToolbarMenuAcc::selectAccessibleChild( sal_Int32 nChildIndex ) thr
mpParent->selectAccessibleChild( nChildIndex );
}
-
-
sal_Bool SAL_CALL ToolbarMenuAcc::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -909,29 +891,16 @@ awt::Size SAL_CALL ToolbarMenuEntryAcc::getSize() throw (RuntimeException, std::
return aRet;
}
-
-
void SAL_CALL ToolbarMenuEntryAcc::grabFocus() throw (RuntimeException, std::exception)
{
// nothing to do
}
-
-
-Any SAL_CALL ToolbarMenuEntryAcc::getAccessibleKeyBinding() throw (RuntimeException)
-{
- return Any();
-}
-
-
-
sal_Int32 SAL_CALL ToolbarMenuEntryAcc::getForeground( ) throw (RuntimeException, std::exception)
{
return static_cast<sal_Int32>(Application::GetSettings().GetStyleSettings().GetMenuTextColor().GetColor());
}
-
-
sal_Int32 SAL_CALL ToolbarMenuEntryAcc::getBackground( ) throw (RuntimeException, std::exception)
{
return static_cast<sal_Int32>(Application::GetSettings().GetStyleSettings().GetMenuColor().GetColor());
diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx
index 55aca40b9cf4..8029dea5b303 100644
--- a/svtools/source/control/toolbarmenuimp.hxx
+++ b/svtools/source/control/toolbarmenuimp.hxx
@@ -162,7 +162,6 @@ public:
virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- ::com::sun::star::uno::Any SAL_CALL getAccessibleKeyBinding( ) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -250,7 +249,6 @@ public:
virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- ::com::sun::star::uno::Any SAL_CALL getAccessibleKeyBinding( ) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx
index 56f515c3877a..f552ee5d030c 100644
--- a/svtools/source/control/valueacc.cxx
+++ b/svtools/source/control/valueacc.cxx
@@ -527,8 +527,6 @@ awt::Size SAL_CALL ValueSetAcc::getSize()
return aRet;
}
-
-
void SAL_CALL ValueSetAcc::grabFocus()
throw (uno::RuntimeException, std::exception)
{
@@ -537,17 +535,6 @@ void SAL_CALL ValueSetAcc::grabFocus()
mpParent->GrabFocus();
}
-
-
-uno::Any SAL_CALL ValueSetAcc::getAccessibleKeyBinding()
- throw (uno::RuntimeException)
-{
- ThrowIfDisposed();
- return uno::Any();
-}
-
-
-
sal_Int32 SAL_CALL ValueSetAcc::getForeground( )
throw (uno::RuntimeException, std::exception)
{
@@ -556,8 +543,6 @@ sal_Int32 SAL_CALL ValueSetAcc::getForeground( )
return static_cast<sal_Int32>(nColor);
}
-
-
sal_Int32 SAL_CALL ValueSetAcc::getBackground( )
throw (uno::RuntimeException, std::exception)
{
@@ -566,8 +551,6 @@ sal_Int32 SAL_CALL ValueSetAcc::getBackground( )
return static_cast<sal_Int32>(nColor);
}
-
-
void SAL_CALL ValueSetAcc::selectAccessibleChild( sal_Int32 nChildIndex )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
@@ -1090,8 +1073,6 @@ sal_Bool SAL_CALL ValueItemAcc::containsPoint( const awt::Point& aPoint )
return Rectangle( aNullPoint, aSize ).IsInside( aTestPoint );
}
-
-
uno::Reference< accessibility::XAccessible > SAL_CALL ValueItemAcc::getAccessibleAtPoint( const awt::Point& )
throw (uno::RuntimeException, std::exception)
{
@@ -1099,8 +1080,6 @@ uno::Reference< accessibility::XAccessible > SAL_CALL ValueItemAcc::getAccessibl
return xRet;
}
-
-
awt::Rectangle SAL_CALL ValueItemAcc::getBounds()
throw (uno::RuntimeException, std::exception)
{
@@ -1124,8 +1103,6 @@ awt::Rectangle SAL_CALL ValueItemAcc::getBounds()
return aRet;
}
-
-
awt::Point SAL_CALL ValueItemAcc::getLocation()
throw (uno::RuntimeException, std::exception)
{
@@ -1138,8 +1115,6 @@ awt::Point SAL_CALL ValueItemAcc::getLocation()
return aRet;
}
-
-
awt::Point SAL_CALL ValueItemAcc::getLocationOnScreen()
throw (uno::RuntimeException, std::exception)
{
@@ -1158,8 +1133,6 @@ awt::Point SAL_CALL ValueItemAcc::getLocationOnScreen()
return aRet;
}
-
-
awt::Size SAL_CALL ValueItemAcc::getSize()
throw (uno::RuntimeException, std::exception)
{
@@ -1172,24 +1145,12 @@ awt::Size SAL_CALL ValueItemAcc::getSize()
return aRet;
}
-
-
void SAL_CALL ValueItemAcc::grabFocus()
throw (uno::RuntimeException, std::exception)
{
// nothing to do
}
-
-
-uno::Any SAL_CALL ValueItemAcc::getAccessibleKeyBinding()
- throw (uno::RuntimeException)
-{
- return uno::Any();
-}
-
-
-
sal_Int32 SAL_CALL ValueItemAcc::getForeground( )
throw (uno::RuntimeException, std::exception)
{
@@ -1197,8 +1158,6 @@ sal_Int32 SAL_CALL ValueItemAcc::getForeground( )
return static_cast<sal_Int32>(nColor);
}
-
-
sal_Int32 SAL_CALL ValueItemAcc::getBackground( )
throw (uno::RuntimeException, std::exception)
{
@@ -1210,8 +1169,6 @@ sal_Int32 SAL_CALL ValueItemAcc::getBackground( )
return static_cast<sal_Int32>(nColor);
}
-
-
sal_Int64 SAL_CALL ValueItemAcc::getSomething( const uno::Sequence< sal_Int8 >& rId ) throw( uno::RuntimeException, std::exception )
{
sal_Int64 nRet;
diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx
index 9773363eb213..d04207434810 100644
--- a/svtools/source/control/valueimp.hxx
+++ b/svtools/source/control/valueimp.hxx
@@ -138,7 +138,6 @@ public:
virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- ::com::sun::star::uno::Any SAL_CALL getAccessibleKeyBinding( ) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -258,7 +257,6 @@ public:
virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- ::com::sun::star::uno::Any SAL_CALL getAccessibleKeyBinding( ) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL getBackground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/svtools/source/control/vclxaccessibleheaderbaritem.cxx b/svtools/source/control/vclxaccessibleheaderbaritem.cxx
index 80c566687ce4..dd504066c4c6 100644
--- a/svtools/source/control/vclxaccessibleheaderbaritem.cxx
+++ b/svtools/source/control/vclxaccessibleheaderbaritem.cxx
@@ -55,22 +55,12 @@ VCLXAccessibleHeaderBarItem::VCLXAccessibleHeaderBarItem( HeaderBar* pHeadBar
m_pExternalLock = static_cast< VCLExternalSolarLock* >( getExternalLock() );
}
-
-
VCLXAccessibleHeaderBarItem::~VCLXAccessibleHeaderBarItem()
{
delete m_pExternalLock;
m_pExternalLock = NULL;
}
-
-
-void VCLXAccessibleHeaderBarItem::ProcessWindowEvent( const VclWindowEvent& )
-{
-}
-
-
-
void VCLXAccessibleHeaderBarItem::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet )
{
if ( m_pHeadBar )
@@ -87,10 +77,7 @@ void VCLXAccessibleHeaderBarItem::FillAccessibleStateSet( utl::AccessibleStateSe
}
}
-
// OCommonAccessibleComponent
-
-
awt::Rectangle VCLXAccessibleHeaderBarItem::implGetBounds() throw (RuntimeException)
{
awt::Rectangle aBounds;