#92075# exception specification

This commit is contained in:
Vladimir Glazounov
2001-09-12 10:00:55 +00:00
parent ac4e914f70
commit d6ac04c716
2 changed files with 13 additions and 13 deletions

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: Button.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: fs $ $Date: 2001-08-27 16:54:50 $
* last change: $Author: vg $ $Date: 2001-09-12 11:00:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -156,13 +156,13 @@ StringSequence OButtonModel::getSupportedServiceNames() throw()
}
//------------------------------------------------------------------------------
::rtl::OUString OButtonModel::getServiceName()
::rtl::OUString OButtonModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException)
{
return FRM_COMPONENT_COMMANDBUTTON; // old (non-sun) name for compatibility !
}
//------------------------------------------------------------------------------
void OButtonModel::write(const Reference<XObjectOutputStream>& _rxOutStream)
void OButtonModel::write(const Reference<XObjectOutputStream>& _rxOutStream) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
{
OImageModel::write(_rxOutStream);
@@ -176,7 +176,7 @@ void OButtonModel::write(const Reference<XObjectOutputStream>& _rxOutStream)
}
//------------------------------------------------------------------------------
void OButtonModel::read(const Reference<XObjectInputStream>& _rxInStream)
void OButtonModel::read(const Reference<XObjectInputStream>& _rxInStream) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
{
OImageModel::read(_rxInStream);
@@ -282,7 +282,7 @@ Any SAL_CALL OButtonControl::queryAggregation(const Type& _rType) throw (Runtime
// ActionListener
//------------------------------------------------------------------------------
void OButtonControl::actionPerformed(const ActionEvent& rEvent)
void OButtonControl::actionPerformed(const ActionEvent& rEvent) throw ( ::com::sun::star::uno::RuntimeException)
{
// Asynchron fuer starutil::URL-Button
sal_uInt32 n = Application::PostUserEvent( LINK(this, OButtonControl,OnClick) );

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: Button.hxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: oj $ $Date: 2000-11-23 08:48:15 $
* last change: $Author: vg $ $Date: 2001-09-12 10:56:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -106,13 +106,13 @@ public:
virtual StringSequence SAL_CALL getSupportedServiceNames() throw();
// ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw( ::com::sun::star::uno::RuntimeException);
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
// ::com::sun::star::io::XPersistObject
virtual ::rtl::OUString SAL_CALL getServiceName();
virtual void SAL_CALL write(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& _rxOutStream);
virtual void SAL_CALL read(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxInStream);
virtual ::rtl::OUString SAL_CALL getServiceName() throw ( ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL write(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& _rxOutStream) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL read(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxInStream) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
virtual void fillProperties(
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps,
@@ -149,7 +149,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException);
// ::com::sun::star::awt::XActionListener
virtual void SAL_CALL actionPerformed(const ::com::sun::star::awt::ActionEvent& rEvent);
virtual void SAL_CALL actionPerformed(const ::com::sun::star::awt::ActionEvent& rEvent) throw ( ::com::sun::star::uno::RuntimeException);
// ::com::sun::star::awt::XButton
virtual void SAL_CALL addActionListener(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener>& _rxListener) throw(::com::sun::star::uno::RuntimeException);