diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 3f2f7996156d..853d0a7872c4 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -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& _rxOutStream) +void OButtonModel::write(const Reference& _rxOutStream) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) { OImageModel::write(_rxOutStream); @@ -176,7 +176,7 @@ void OButtonModel::write(const Reference& _rxOutStream) } //------------------------------------------------------------------------------ -void OButtonModel::read(const Reference& _rxInStream) +void OButtonModel::read(const Reference& _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) ); diff --git a/forms/source/component/Button.hxx b/forms/source/component/Button.hxx index 4db2bbd5427b..0692b3310f33 100644 --- a/forms/source/component/Button.hxx +++ b/forms/source/component/Button.hxx @@ -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);