summaryrefslogtreecommitdiff
path: root/svtools/source/control/toolbarmenuacc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/toolbarmenuacc.cxx')
-rw-r--r--svtools/source/control/toolbarmenuacc.cxx53
1 files changed, 0 insertions, 53 deletions
diff --git a/svtools/source/control/toolbarmenuacc.cxx b/svtools/source/control/toolbarmenuacc.cxx
index 5baf1374ff02..1bc217cf1520 100644
--- a/svtools/source/control/toolbarmenuacc.cxx
+++ b/svtools/source/control/toolbarmenuacc.cxx
@@ -40,8 +40,6 @@ using namespace ::com::sun::star::accessibility;
namespace svtools {
-
-
ToolbarMenuAcc::ToolbarMenuAcc( ToolbarMenu_Impl& rParent )
: ToolbarMenuAccComponentBase(m_aMutex)
, mpParent( &rParent )
@@ -51,7 +49,6 @@ ToolbarMenuAcc::ToolbarMenuAcc( ToolbarMenu_Impl& rParent )
}
-
ToolbarMenuAcc::~ToolbarMenuAcc()
{
if( mpParent )
@@ -59,7 +56,6 @@ ToolbarMenuAcc::~ToolbarMenuAcc()
}
-
IMPL_LINK_TYPED( ToolbarMenuAcc, WindowEventListener, VclWindowEvent&, rEvent, void )
{
/* Ignore VCLEVENT_WINDOW_ENDPOPUPMODE, because the UNO accessibility wrapper
@@ -77,7 +73,6 @@ IMPL_LINK_TYPED( ToolbarMenuAcc, WindowEventListener, VclWindowEvent&, rEvent, v
}
-
void ToolbarMenuAcc::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
{
switch ( rVclWindowEvent.GetId() )
@@ -114,7 +109,6 @@ void ToolbarMenuAcc::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
}
-
void ToolbarMenuAcc::FireAccessibleEvent( short nEventId, const Any& rOldValue, const Any& rNewValue )
{
if( nEventId )
@@ -142,7 +136,6 @@ void ToolbarMenuAcc::FireAccessibleEvent( short nEventId, const Any& rOldValue,
}
-
Reference< XAccessibleContext > SAL_CALL ToolbarMenuAcc::getAccessibleContext() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -150,7 +143,6 @@ Reference< XAccessibleContext > SAL_CALL ToolbarMenuAcc::getAccessibleContext()
}
-
sal_Int32 SAL_CALL ToolbarMenuAcc::getAccessibleChildCount() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -160,7 +152,6 @@ sal_Int32 SAL_CALL ToolbarMenuAcc::getAccessibleChildCount() throw (RuntimeExcep
}
-
Reference< XAccessible > SAL_CALL ToolbarMenuAcc::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -170,7 +161,6 @@ Reference< XAccessible > SAL_CALL ToolbarMenuAcc::getAccessibleChild( sal_Int32
}
-
Reference< XAccessible > SAL_CALL ToolbarMenuAcc::getAccessibleParent() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -186,7 +176,6 @@ Reference< XAccessible > SAL_CALL ToolbarMenuAcc::getAccessibleParent() throw (R
}
-
sal_Int32 SAL_CALL ToolbarMenuAcc::getAccessibleIndexInParent() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -206,7 +195,6 @@ sal_Int32 SAL_CALL ToolbarMenuAcc::getAccessibleIndexInParent() throw (RuntimeEx
}
-
sal_Int16 SAL_CALL ToolbarMenuAcc::getAccessibleRole() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -214,7 +202,6 @@ sal_Int16 SAL_CALL ToolbarMenuAcc::getAccessibleRole() throw (RuntimeException,
}
-
OUString SAL_CALL ToolbarMenuAcc::getAccessibleDescription() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -222,7 +209,6 @@ OUString SAL_CALL ToolbarMenuAcc::getAccessibleDescription() throw (RuntimeExcep
}
-
OUString SAL_CALL ToolbarMenuAcc::getAccessibleName() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -243,7 +229,6 @@ OUString SAL_CALL ToolbarMenuAcc::getAccessibleName() throw (RuntimeException, s
}
-
Reference< XAccessibleRelationSet > SAL_CALL ToolbarMenuAcc::getAccessibleRelationSet() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -251,7 +236,6 @@ Reference< XAccessibleRelationSet > SAL_CALL ToolbarMenuAcc::getAccessibleRelati
}
-
Reference< XAccessibleStateSet > SAL_CALL ToolbarMenuAcc::getAccessibleStateSet() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -271,7 +255,6 @@ Reference< XAccessibleStateSet > SAL_CALL ToolbarMenuAcc::getAccessibleStateSet(
}
-
Locale SAL_CALL ToolbarMenuAcc::getLocale() throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -291,7 +274,6 @@ Locale SAL_CALL ToolbarMenuAcc::getLocale() throw (IllegalAccessibleComponentSta
}
-
void SAL_CALL ToolbarMenuAcc::addAccessibleEventListener( const Reference< XAccessibleEventListener >& rxListener ) throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -316,7 +298,6 @@ void SAL_CALL ToolbarMenuAcc::addAccessibleEventListener( const Reference< XAcce
}
-
void SAL_CALL ToolbarMenuAcc::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& rxListener ) throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -331,7 +312,6 @@ void SAL_CALL ToolbarMenuAcc::removeAccessibleEventListener( const Reference< XA
}
-
sal_Bool SAL_CALL ToolbarMenuAcc::containsPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -343,7 +323,6 @@ sal_Bool SAL_CALL ToolbarMenuAcc::containsPoint( const awt::Point& aPoint ) thro
}
-
Reference< XAccessible > SAL_CALL ToolbarMenuAcc::getAccessibleAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -375,7 +354,6 @@ Reference< XAccessible > SAL_CALL ToolbarMenuAcc::getAccessibleAtPoint( const aw
}
-
awt::Rectangle SAL_CALL ToolbarMenuAcc::getBounds() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -393,7 +371,6 @@ awt::Rectangle SAL_CALL ToolbarMenuAcc::getBounds() throw (RuntimeException, std
}
-
awt::Point SAL_CALL ToolbarMenuAcc::getLocation() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -403,7 +380,6 @@ awt::Point SAL_CALL ToolbarMenuAcc::getLocation() throw (RuntimeException, std::
}
-
awt::Point SAL_CALL ToolbarMenuAcc::getLocationOnScreen() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -413,7 +389,6 @@ awt::Point SAL_CALL ToolbarMenuAcc::getLocationOnScreen() throw (RuntimeExcepti
}
-
awt::Size SAL_CALL ToolbarMenuAcc::getSize() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -459,7 +434,6 @@ sal_Bool SAL_CALL ToolbarMenuAcc::isAccessibleChildSelected( sal_Int32 nChildInd
}
-
void SAL_CALL ToolbarMenuAcc::clearAccessibleSelection() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -468,7 +442,6 @@ void SAL_CALL ToolbarMenuAcc::clearAccessibleSelection() throw (RuntimeException
}
-
void SAL_CALL ToolbarMenuAcc::selectAllAccessibleChildren() throw (RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -476,7 +449,6 @@ void SAL_CALL ToolbarMenuAcc::selectAllAccessibleChildren() throw (RuntimeExcept
}
-
sal_Int32 SAL_CALL ToolbarMenuAcc::getSelectedAccessibleChildCount() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -486,7 +458,6 @@ sal_Int32 SAL_CALL ToolbarMenuAcc::getSelectedAccessibleChildCount() throw (Runt
}
-
Reference< XAccessible > SAL_CALL ToolbarMenuAcc::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -511,7 +482,6 @@ Reference< XAccessible > SAL_CALL ToolbarMenuAcc::getSelectedAccessibleChild( sa
}
-
void SAL_CALL ToolbarMenuAcc::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
{
ThrowIfDisposed();
@@ -523,7 +493,6 @@ void SAL_CALL ToolbarMenuAcc::deselectAccessibleChild( sal_Int32 nChildIndex ) t
}
-
void SAL_CALL ToolbarMenuAcc::disposing()
{
EventListenerVector aListenerListCopy;
@@ -567,8 +536,6 @@ void ToolbarMenuAcc::ThrowIfDisposed() throw (DisposedException)
}
-
-
ToolbarMenuEntryAcc::ToolbarMenuEntryAcc( ToolbarMenuEntry* pParent )
: ToolbarMenuEntryAccBase( m_aMutex )
, mpParent( pParent )
@@ -576,13 +543,11 @@ ToolbarMenuEntryAcc::ToolbarMenuEntryAcc( ToolbarMenuEntry* pParent )
}
-
ToolbarMenuEntryAcc::~ToolbarMenuEntryAcc()
{
}
-
void SAL_CALL ToolbarMenuEntryAcc::disposing()
{
EventListenerVector aListenerListCopy;
@@ -624,21 +589,18 @@ Reference< XAccessibleContext > SAL_CALL ToolbarMenuEntryAcc::getAccessibleConte
}
-
sal_Int32 SAL_CALL ToolbarMenuEntryAcc::getAccessibleChildCount() throw (RuntimeException, std::exception)
{
return 0;
}
-
Reference< XAccessible > SAL_CALL ToolbarMenuEntryAcc::getAccessibleChild( sal_Int32 ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
{
throw IndexOutOfBoundsException();
}
-
Reference< XAccessible > SAL_CALL ToolbarMenuEntryAcc::getAccessibleParent() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -651,7 +613,6 @@ Reference< XAccessible > SAL_CALL ToolbarMenuEntryAcc::getAccessibleParent() thr
}
-
sal_Int32 SAL_CALL ToolbarMenuEntryAcc::getAccessibleIndexInParent() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -683,21 +644,18 @@ sal_Int32 SAL_CALL ToolbarMenuEntryAcc::getAccessibleIndexInParent() throw (Runt
}
-
sal_Int16 SAL_CALL ToolbarMenuEntryAcc::getAccessibleRole() throw (RuntimeException, std::exception)
{
return AccessibleRole::LIST_ITEM;
}
-
OUString SAL_CALL ToolbarMenuEntryAcc::getAccessibleDescription() throw (RuntimeException, std::exception)
{
return OUString();
}
-
OUString SAL_CALL ToolbarMenuEntryAcc::getAccessibleName() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -718,14 +676,12 @@ OUString SAL_CALL ToolbarMenuEntryAcc::getAccessibleName() throw (RuntimeExcepti
}
-
Reference< XAccessibleRelationSet > SAL_CALL ToolbarMenuEntryAcc::getAccessibleRelationSet() throw (RuntimeException, std::exception)
{
return Reference< XAccessibleRelationSet >();
}
-
Reference< XAccessibleStateSet > SAL_CALL ToolbarMenuEntryAcc::getAccessibleStateSet() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -752,7 +708,6 @@ Reference< XAccessibleStateSet > SAL_CALL ToolbarMenuEntryAcc::getAccessibleStat
}
-
Locale SAL_CALL ToolbarMenuEntryAcc::getLocale() throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception)
{
Locale aRet( "", "", "" );
@@ -770,7 +725,6 @@ Locale SAL_CALL ToolbarMenuEntryAcc::getLocale() throw (IllegalAccessibleCompone
}
-
void SAL_CALL ToolbarMenuEntryAcc::addAccessibleEventListener( const Reference< XAccessibleEventListener >& rxListener ) throw (RuntimeException, std::exception)
{
const ::osl::MutexGuard aGuard( maMutex );
@@ -789,7 +743,6 @@ void SAL_CALL ToolbarMenuEntryAcc::addAccessibleEventListener( const Reference<
}
-
void SAL_CALL ToolbarMenuEntryAcc::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& rxListener ) throw (RuntimeException, std::exception)
{
const ::osl::MutexGuard aGuard( maMutex );
@@ -803,7 +756,6 @@ void SAL_CALL ToolbarMenuEntryAcc::removeAccessibleEventListener( const Referenc
}
-
sal_Bool SAL_CALL ToolbarMenuEntryAcc::containsPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception)
{
const awt::Rectangle aRect( getBounds() );
@@ -814,7 +766,6 @@ sal_Bool SAL_CALL ToolbarMenuEntryAcc::containsPoint( const awt::Point& aPoint )
}
-
Reference< XAccessible > SAL_CALL ToolbarMenuEntryAcc::getAccessibleAtPoint( const awt::Point& ) throw (RuntimeException, std::exception)
{
Reference< XAccessible > xRet;
@@ -822,7 +773,6 @@ Reference< XAccessible > SAL_CALL ToolbarMenuEntryAcc::getAccessibleAtPoint( con
}
-
awt::Rectangle SAL_CALL ToolbarMenuEntryAcc::getBounds() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -846,7 +796,6 @@ awt::Rectangle SAL_CALL ToolbarMenuEntryAcc::getBounds() throw (RuntimeException
}
-
awt::Point SAL_CALL ToolbarMenuEntryAcc::getLocation() throw (RuntimeException, std::exception)
{
const awt::Rectangle aRect( getBounds() );
@@ -854,7 +803,6 @@ awt::Point SAL_CALL ToolbarMenuEntryAcc::getLocation() throw (RuntimeException,
}
-
awt::Point SAL_CALL ToolbarMenuEntryAcc::getLocationOnScreen() throw (RuntimeException, std::exception)
{
const SolarMutexGuard aSolarGuard;
@@ -872,7 +820,6 @@ awt::Point SAL_CALL ToolbarMenuEntryAcc::getLocationOnScreen() throw (RuntimeExc
}
-
awt::Size SAL_CALL ToolbarMenuEntryAcc::getSize() throw (RuntimeException, std::exception)
{
const awt::Rectangle aRect( getBounds() );