diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2001-09-13 11:12:04 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2001-09-13 11:12:04 +0000 |
commit | 35a37cfbfa7b79fbf44643ae9d0571d5714d29f1 (patch) | |
tree | adf4b77f86ffa89d32e9b7197e9e906d5207777a /extensions/source | |
parent | 734ded2c4e67c36a45de90ca9e19f937f8d70fd1 (diff) |
#92075#
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/bibliography/bibload.cxx | 12 | ||||
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 6 | ||||
-rw-r--r-- | extensions/source/bibliography/datman.hxx | 7 | ||||
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 35 | ||||
-rw-r--r-- | extensions/source/bibliography/framectr.hxx | 34 |
5 files changed, 49 insertions, 45 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index b782320947e4..db9cfb065be1 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bibload.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: os $ $Date: 2001-06-12 07:24:35 $ + * last change: $Author: hjs $ $Date: 2001-09-13 12:12:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -259,8 +259,8 @@ public: // XLoader virtual void SAL_CALL load(const Reference< frame::XFrame > & aFrame, const rtl::OUString& aURL, const Sequence< PropertyValue >& aArgs, - const Reference< frame::XLoadEventListener > & aListener); - virtual void SAL_CALL cancel(void); + const Reference< frame::XLoadEventListener > & aListener) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL cancel(void) throw (::com::sun::star::uno::RuntimeException); }; BibliographyLoader::BibliographyLoader() : @@ -380,7 +380,7 @@ extern "C" } // ----------------------------------------------------------------------- -void BibliographyLoader::cancel(void) +void BibliographyLoader::cancel(void) throw (::com::sun::star::uno::RuntimeException) { //! //! @@ -388,7 +388,7 @@ void BibliographyLoader::cancel(void) // ----------------------------------------------------------------------- void BibliographyLoader::load(const Reference< frame::XFrame > & rFrame, const rtl::OUString& rURL, const Sequence< PropertyValue >& rArgs, - const Reference< frame::XLoadEventListener > & rListener) + const Reference< frame::XLoadEventListener > & rListener) throw (::com::sun::star::uno::RuntimeException) { //! diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index de10091ffd47..afd62054cb42 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -2,9 +2,9 @@ * * $RCSfile: datman.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: fs $ $Date: 2001-08-17 09:23:32 $ + * last change: $Author: hjs $ $Date: 2001-09-13 12:12:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1543,7 +1543,7 @@ void BibDataManager::saveCtrModel(const rtl::OUString& rName,const Reference< aw } //------------------------------------------------------------------------ -void BibDataManager::disposing( const lang::EventObject& Source ) +void BibDataManager::disposing( const lang::EventObject& Source ) throw( ::com::sun::star::uno::RuntimeException ) { try { diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx index a55ddaee1f5e..919fb0ddf1ef 100644 --- a/extensions/source/bibliography/datman.hxx +++ b/extensions/source/bibliography/datman.hxx @@ -2,9 +2,9 @@ * * $RCSfile: datman.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: fs $ $Date: 2001-08-17 09:23:12 $ + * last change: $Author: hjs $ $Date: 2001-09-13 12:12:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -120,7 +120,8 @@ public: virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw( ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ); + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) + throw( ::com::sun::star::uno::RuntimeException ); diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 3bd5aaaefecd..142e1e1bc0ed 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: framectr.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: fs $ $Date: 2001-08-17 09:23:52 $ + * last change: $Author: hjs $ $Date: 2001-09-13 12:12:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -151,7 +151,7 @@ public: ~BibFrameCtrl_Impl(); virtual void SAL_CALL frameAction(const FrameActionEvent& aEvent) throw( RuntimeException ); - virtual void SAL_CALL disposing( const lang::EventObject& Source ); + virtual void SAL_CALL disposing( const lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); }; @@ -175,6 +175,7 @@ void BibFrameCtrl_Impl::frameAction(const FrameActionEvent& aEvent) throw( uno:: } void BibFrameCtrl_Impl::disposing( const lang::EventObject& Source ) + throw (::com::sun::star::uno::RuntimeException) { util::URL aURL; aURL.Complete = C2U("0"); @@ -243,18 +244,18 @@ BibFrameController_Impl::~BibFrameController_Impl() CloseBibModul(pBibMod); } -void BibFrameController_Impl::attachFrame( const uno::Reference< XFrame > & xArg ) +void BibFrameController_Impl::attachFrame( const uno::Reference< XFrame > & xArg ) throw (::com::sun::star::uno::RuntimeException) { xFrame = xArg; xFrame->addFrameActionListener( pImp ); } -sal_Bool BibFrameController_Impl::attachModel( const uno::Reference< XModel > & xModel ) +sal_Bool BibFrameController_Impl::attachModel( const uno::Reference< XModel > & xModel ) throw (::com::sun::star::uno::RuntimeException) { return sal_False; } -sal_Bool BibFrameController_Impl::suspend( sal_Bool bSuspend ) +sal_Bool BibFrameController_Impl::suspend( sal_Bool bSuspend ) throw (::com::sun::star::uno::RuntimeException) { if ( bSuspend ) getFrame()->removeFrameActionListener( pImp ); @@ -263,26 +264,26 @@ sal_Bool BibFrameController_Impl::suspend( sal_Bool bSuspend ) return sal_True; } -uno::Any BibFrameController_Impl::getViewData() +uno::Any BibFrameController_Impl::getViewData() throw (::com::sun::star::uno::RuntimeException) { return uno::Any(); } -void BibFrameController_Impl::restoreViewData( const uno::Any& Value ) +void BibFrameController_Impl::restoreViewData( const uno::Any& Value ) throw (::com::sun::star::uno::RuntimeException) { } -uno::Reference< XFrame > BibFrameController_Impl::getFrame() +uno::Reference< XFrame > BibFrameController_Impl::getFrame() throw (::com::sun::star::uno::RuntimeException) { return xFrame; } -uno::Reference< XModel > BibFrameController_Impl::getModel() +uno::Reference< XModel > BibFrameController_Impl::getModel() throw (::com::sun::star::uno::RuntimeException) { return uno::Reference< XModel > (); } -void BibFrameController_Impl::dispose() +void BibFrameController_Impl::dispose() throw (::com::sun::star::uno::RuntimeException) { bDisposing = sal_True; lang::EventObject aObject; @@ -293,17 +294,17 @@ void BibFrameController_Impl::dispose() aStatusListeners.DeleteAndDestroy( 0, aStatusListeners.Count() ); } -void BibFrameController_Impl::addEventListener( const uno::Reference< lang::XEventListener > & aListener ) +void BibFrameController_Impl::addEventListener( const uno::Reference< lang::XEventListener > & aListener ) throw (::com::sun::star::uno::RuntimeException) { pImp->aLC.addInterface( ::getCppuType((const Reference< lang::XEventListener >*)0), aListener ); } -void BibFrameController_Impl::removeEventListener( const uno::Reference< lang::XEventListener > & aListener ) +void BibFrameController_Impl::removeEventListener( const uno::Reference< lang::XEventListener > & aListener ) throw (::com::sun::star::uno::RuntimeException) { pImp->aLC.removeInterface( ::getCppuType((const Reference< lang::XEventListener >*)0), aListener ); } -uno::Reference< frame::XDispatch > BibFrameController_Impl::queryDispatch( const util::URL& aURL, const rtl::OUString& aTarget, sal_Int32 nSearchFlags ) +uno::Reference< frame::XDispatch > BibFrameController_Impl::queryDispatch( const util::URL& aURL, const rtl::OUString& aTarget, sal_Int32 nSearchFlags ) throw (::com::sun::star::uno::RuntimeException) { if ( !bDisposing ) { @@ -319,13 +320,13 @@ uno::Reference< frame::XDispatch > BibFrameController_Impl::queryDispatch( cons return uno::Reference< frame::XDispatch > (); } -uno::Sequence<uno::Reference< XDispatch > > BibFrameController_Impl::queryDispatches( const uno::Sequence<DispatchDescriptor>& aDescripts ) +uno::Sequence<uno::Reference< XDispatch > > BibFrameController_Impl::queryDispatches( const uno::Sequence<DispatchDescriptor>& aDescripts ) throw (::com::sun::star::uno::RuntimeException) { return uno::Sequence<uno::Reference< XDispatch > >(); } //class XDispatch -void BibFrameController_Impl::dispatch(const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs) +void BibFrameController_Impl::dispatch(const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs) throw (::com::sun::star::uno::RuntimeException) { if ( !bDisposing ) { @@ -480,6 +481,7 @@ IMPL_STATIC_LINK( BibFrameController_Impl, DisposeHdl, void*, EMPTYARG ) void BibFrameController_Impl::addStatusListener( const uno::Reference< frame::XStatusListener > & aListener, const util::URL& aURL) + throw (::com::sun::star::uno::RuntimeException) { BibConfig* pConfig = BibModul::GetConfig(); // create a new Reference and insert into listener array @@ -549,6 +551,7 @@ void BibFrameController_Impl::addStatusListener( //----------------------------------------------------------------------------- void BibFrameController_Impl::removeStatusListener( const uno::Reference< frame::XStatusListener > & aObject, const util::URL& aURL) + throw (::com::sun::star::uno::RuntimeException) { // search listener array for given listener // for checking equality always "cast" to XInterface diff --git a/extensions/source/bibliography/framectr.hxx b/extensions/source/bibliography/framectr.hxx index 7d186325fbba..ba1903cbda84 100644 --- a/extensions/source/bibliography/framectr.hxx +++ b/extensions/source/bibliography/framectr.hxx @@ -2,9 +2,9 @@ * * $RCSfile: framectr.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: os $ $Date: 2001-07-09 12:09:48 $ + * last change: $Author: hjs $ $Date: 2001-09-13 12:12:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -134,27 +134,27 @@ public: // ::com::sun::star::frame::XController - virtual void SAL_CALL attachFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & xFrame ); - virtual sal_Bool SAL_CALL attachModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel ); - virtual sal_Bool SAL_CALL suspend( sal_Bool bSuspend ); - virtual ::com::sun::star::uno::Any SAL_CALL getViewData(); - virtual void SAL_CALL restoreViewData( const ::com::sun::star::uno::Any& Value ); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL getFrame(); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL getModel(); + virtual void SAL_CALL attachFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & xFrame ) throw (::com::sun::star::uno::RuntimeException); + virtual sal_Bool SAL_CALL attachModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel ) throw (::com::sun::star::uno::RuntimeException); + virtual sal_Bool SAL_CALL suspend( sal_Bool bSuspend ) throw (::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Any SAL_CALL getViewData() throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL restoreViewData( const ::com::sun::star::uno::Any& Value ) throw (::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL getFrame() throw (::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL getModel() throw (::com::sun::star::uno::RuntimeException); // ::com::sun::star::lang::XComponent - virtual void SAL_CALL dispose(); - virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener ); - virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener ); + virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener ) throw (::com::sun::star::uno::RuntimeException); // ::com::sun::star::frame::XDispatchProvider - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, const rtl::OUString& aTargetFrameName, sal_Int32 nSearchFlags); - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > > SAL_CALL queryDispatches( const ::com::sun::star::uno::Sequence< ::com::sun::star::frame::DispatchDescriptor >& aDescripts); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, const rtl::OUString& aTargetFrameName, sal_Int32 nSearchFlags) throw (::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > > SAL_CALL queryDispatches( const ::com::sun::star::uno::Sequence< ::com::sun::star::frame::DispatchDescriptor >& aDescripts) throw (::com::sun::star::uno::RuntimeException); //class ::com::sun::star::frame::XDispatch - virtual void SAL_CALL dispatch(const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs); - virtual void SAL_CALL addStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL); - virtual void SAL_CALL removeStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL); + virtual void SAL_CALL dispatch(const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL addStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL removeStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL) throw (::com::sun::star::uno::RuntimeException); }; |