No need for implGetBounds to be SAL_CALL

Change-Id: I4eb1f998de57a4ceeb7990c6e4a964ce0d07ea88
This commit is contained in:
Stephan Bergmann 2014-03-11 15:35:52 +01:00
parent 6ae226820a
commit d47ca30f1c
22 changed files with 26 additions and 26 deletions

View File

@ -81,7 +81,7 @@ namespace accessibility
protected: protected:
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// OComponentHelper // OComponentHelper
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -57,7 +57,7 @@ namespace accessibility
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XComponent // XComponent
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -73,7 +73,7 @@ namespace accessibility
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XComponent // XComponent
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -69,7 +69,7 @@ namespace accessibility
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XComponent // XComponent
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -44,7 +44,7 @@ protected:
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
public: public:
OAccessibleMenuComponent( Menu* pMenu ); OAccessibleMenuComponent( Menu* pMenu );

View File

@ -54,7 +54,7 @@ protected:
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XComponent // XComponent
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -194,7 +194,7 @@ protected:
virtual void HandleChangedItemList (bool bItemInserted, sal_Int32 nIndex); virtual void HandleChangedItemList (bool bItemInserted, sal_Int32 nIndex);
// VCLXAccessibleComponent // VCLXAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
private: private:
/** We need to save the accessible parent to return it in <type>getAccessibleParent()</type>, /** We need to save the accessible parent to return it in <type>getAccessibleParent()</type>,

View File

@ -69,7 +69,7 @@ protected:
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// OCommonAccessibleText // OCommonAccessibleText
virtual OUString implGetText(); virtual OUString implGetText();

View File

@ -73,7 +73,7 @@ protected:
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// OCommonAccessibleText // OCommonAccessibleText
virtual OUString implGetText(); virtual OUString implGetText();

View File

@ -40,7 +40,7 @@ private:
protected: protected:
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XComponent // XComponent
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -67,7 +67,7 @@ protected:
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();
/// implements the calculation of the bounding rectangle /// implements the calculation of the bounding rectangle
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// OCommonAccessibleText // OCommonAccessibleText
virtual OUString implGetText(); virtual OUString implGetText();

View File

@ -368,7 +368,7 @@ namespace accessibility
return m_pImpl->getPanelDisplayName(); return m_pImpl->getPanelDisplayName();
} }
UnoRectangle SAL_CALL AccessibleToolPanelDeckTabBarItem::implGetBounds() throw (RuntimeException) UnoRectangle AccessibleToolPanelDeckTabBarItem::implGetBounds() throw (RuntimeException)
{ {
ItemMethodGuard aGuard( *m_pImpl ); ItemMethodGuard aGuard( *m_pImpl );

View File

@ -234,7 +234,7 @@ void VCLXAccessibleToolBoxItem::ToggleEnableState()
NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, aOldValue[1], aNewValue[1] ); NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, aOldValue[1], aNewValue[1] );
} }
awt::Rectangle SAL_CALL VCLXAccessibleToolBoxItem::implGetBounds( ) throw (RuntimeException) awt::Rectangle VCLXAccessibleToolBoxItem::implGetBounds( ) throw (RuntimeException)
{ {
awt::Rectangle aRect; awt::Rectangle aRect;
if ( m_pToolBox ) if ( m_pToolBox )

View File

@ -81,7 +81,7 @@ protected:
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XComponent // XComponent
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -103,7 +103,7 @@ protected:
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XComponent // XComponent
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -47,7 +47,7 @@ namespace comphelper
protected: protected:
/// implements the calculation of the bounding rectangle - still waiting to be overwritten /// implements the calculation of the bounding rectangle - still waiting to be overwritten
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) = 0; virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) = 0;
protected: protected:
/** non-virtual versions of the methods which can be implemented using <method>implGetBounds</method> /** non-virtual versions of the methods which can be implemented using <method>implGetBounds</method>

View File

@ -62,7 +62,7 @@ protected:
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent // OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XComponent // XComponent
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();

View File

@ -123,7 +123,7 @@ public:
protected: protected:
// base class overridables // base class overridables
::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
private: private:
/** we may be reparented (if external components use OAccessibleImplementationAccess base class), /** we may be reparented (if external components use OAccessibleImplementationAccess base class),

View File

@ -70,7 +70,7 @@ namespace toolkit
) SAL_THROW( ( ::com::sun::star::uno::Exception ) ); ) SAL_THROW( ( ::com::sun::star::uno::Exception ) );
// OCommonAccessibleComponent overridables // OCommonAccessibleComponent overridables
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
public: public:
/** creates an accessible context for an uno control /** creates an accessible context for an uno control

View File

@ -156,7 +156,7 @@ Reference< XAccessible > SAL_CALL SvxShowCharSetVirtualAcc::getAccessibleParent(
return xRet; return xRet;
} }
::com::sun::star::awt::Rectangle SAL_CALL SvxShowCharSetVirtualAcc::implGetBounds( ) throw (RuntimeException) ::com::sun::star::awt::Rectangle SvxShowCharSetVirtualAcc::implGetBounds( ) throw (RuntimeException)
{ {
::com::sun::star::awt::Rectangle aBounds ( 0, 0, 0, 0 ); ::com::sun::star::awt::Rectangle aBounds ( 0, 0, 0, 0 );
Window* pWindow = mpParent; Window* pWindow = mpParent;
@ -335,7 +335,7 @@ void SvxShowCharSetAcc::implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bS
} }
} }
::com::sun::star::awt::Rectangle SAL_CALL SvxShowCharSetAcc::implGetBounds( ) throw (RuntimeException) ::com::sun::star::awt::Rectangle SvxShowCharSetAcc::implGetBounds( ) throw (RuntimeException)
{ {
const Point aOutPos;//( m_pParent->getCharSetControl()->GetPosPixel() ); const Point aOutPos;//( m_pParent->getCharSetControl()->GetPosPixel() );
Size aOutSize( m_pParent->getCharSetControl()->GetOutputSizePixel()); Size aOutSize( m_pParent->getCharSetControl()->GetOutputSizePixel());
@ -795,7 +795,7 @@ uno::Any SAL_CALL SvxShowCharSetItemAcc::getAccessibleKeyBinding()
return uno::Any(); return uno::Any();
} }
awt::Rectangle SAL_CALL SvxShowCharSetItemAcc::implGetBounds( ) throw (RuntimeException) awt::Rectangle SvxShowCharSetItemAcc::implGetBounds( ) throw (RuntimeException)
{ {
awt::Rectangle aRet; awt::Rectangle aRet;

View File

@ -45,7 +45,7 @@ namespace svx
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException);
public: public:
SvxShowCharSetVirtualAcc( SvxShowCharSet* pParent ); SvxShowCharSetVirtualAcc( SvxShowCharSet* pParent );
@ -200,7 +200,7 @@ namespace svx
// OCommonAccessibleComponent // OCommonAccessibleComponent
/// implements the calculation of the bounding rectangle - still waiting to be overwritten /// implements the calculation of the bounding rectangle - still waiting to be overwritten
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException);
}; };
@ -218,7 +218,7 @@ namespace svx
// OCommonAccessibleComponent // OCommonAccessibleComponent
/// implements the calculation of the bounding rectangle - still waiting to be overwritten /// implements the calculation of the bounding rectangle - still waiting to be overwritten
virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException);
public: public:
// XInterface // XInterface

View File

@ -240,7 +240,7 @@ namespace toolkit
} }
awt::Rectangle SAL_CALL OAccessibleControlContext::implGetBounds( ) throw (RuntimeException) awt::Rectangle OAccessibleControlContext::implGetBounds( ) throw (RuntimeException)
{ {
SolarMutexGuard aSolarGuard; SolarMutexGuard aSolarGuard;
// want to do some VCL stuff here ... // want to do some VCL stuff here ...