Kaydet (Commit) ca504ac0 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

#92924#: exception specifications

üst e1bb3fb7
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: eventsdocumenthandler.hxx,v $ * $RCSfile: eventsdocumenthandler.hxx,v $
* *
* $Revision: 1.1 $ * $Revision: 1.2 $
* *
* last change: $Author: cd $ $Date: 2001-06-22 13:31:14 $ * last change: $Author: hr $ $Date: 2001-10-09 18:28:09 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -136,9 +136,9 @@ class OReadEventsDocumentHandler : public ::com::sun::star::xml::sax::XDocument ...@@ -136,9 +136,9 @@ class OReadEventsDocumentHandler : public ::com::sun::star::xml::sax::XDocument
virtual ~OReadEventsDocumentHandler(); virtual ~OReadEventsDocumentHandler();
// XInterface // XInterface
virtual void SAL_CALL acquire() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL acquire() throw()
{ OWeakObject::acquire(); } { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL release() throw()
{ OWeakObject::release(); } { OWeakObject::release(); }
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException ); const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: menumanager.hxx,v $ * $RCSfile: menumanager.hxx,v $
* *
* $Revision: 1.9 $ * $Revision: 1.10 $
* *
* last change: $Author: as $ $Date: 2001-06-11 10:13:51 $ * last change: $Author: hr $ $Date: 2001-10-09 18:28:09 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -144,9 +144,9 @@ class MenuManager : public XSTATUSLISTENER , ...@@ -144,9 +144,9 @@ class MenuManager : public XSTATUSLISTENER ,
virtual ~MenuManager(); virtual ~MenuManager();
// XInterface // XInterface
virtual void SAL_CALL acquire() throw( RUNTIMEEXCEPTION ) virtual void SAL_CALL acquire() throw()
{ OWeakObject::acquire(); } { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw( RUNTIMEEXCEPTION ) virtual void SAL_CALL release() throw()
{ OWeakObject::release(); } { OWeakObject::release(); }
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType ) throw( RUNTIMEEXCEPTION ); const ::com::sun::star::uno::Type & rType ) throw( RUNTIMEEXCEPTION );
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: statusbardocumenthandler.hxx,v $ * $RCSfile: statusbardocumenthandler.hxx,v $
* *
* $Revision: 1.1 $ * $Revision: 1.2 $
* *
* last change: $Author: cd $ $Date: 2001-06-20 09:55:16 $ * last change: $Author: hr $ $Date: 2001-10-09 18:28:09 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -137,9 +137,9 @@ class OReadStatusBarDocumentHandler : public ::com::sun::star::xml::sax::XDocu ...@@ -137,9 +137,9 @@ class OReadStatusBarDocumentHandler : public ::com::sun::star::xml::sax::XDocu
virtual ~OReadStatusBarDocumentHandler(); virtual ~OReadStatusBarDocumentHandler();
// XInterface // XInterface
virtual void SAL_CALL acquire() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL acquire() throw()
{ OWeakObject::acquire(); } { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL release() throw()
{ OWeakObject::release(); } { OWeakObject::release(); }
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException ); const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: toolboxdocumenthandler.hxx,v $ * $RCSfile: toolboxdocumenthandler.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: cd $ $Date: 2001-06-18 09:49:48 $ * last change: $Author: hr $ $Date: 2001-10-09 18:28:09 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -140,9 +140,9 @@ class OReadToolBoxDocumentHandler : public ::com::sun::star::xml::sax::XDocument ...@@ -140,9 +140,9 @@ class OReadToolBoxDocumentHandler : public ::com::sun::star::xml::sax::XDocument
virtual ~OReadToolBoxDocumentHandler(); virtual ~OReadToolBoxDocumentHandler();
// XInterface // XInterface
virtual void SAL_CALL acquire() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL acquire() throw()
{ OWeakObject::acquire(); } { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL release() throw()
{ OWeakObject::release(); } { OWeakObject::release(); }
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException ); const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: toolboxlayoutdocumenthandler.hxx,v $ * $RCSfile: toolboxlayoutdocumenthandler.hxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: cd $ $Date: 2001-09-25 12:22:06 $ * last change: $Author: hr $ $Date: 2001-10-09 18:28:09 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -142,9 +142,9 @@ class OReadToolBoxLayoutDocumentHandler : public ::com::sun::star::xml::sax::XDo ...@@ -142,9 +142,9 @@ class OReadToolBoxLayoutDocumentHandler : public ::com::sun::star::xml::sax::XDo
virtual ~OReadToolBoxLayoutDocumentHandler(); virtual ~OReadToolBoxLayoutDocumentHandler();
// XInterface // XInterface
virtual void SAL_CALL acquire() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL acquire() throw()
{ OWeakObject::acquire(); } { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL release() throw()
{ OWeakObject::release(); } { OWeakObject::release(); }
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException ); const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xinterface.hxx,v $ * $RCSfile: xinterface.hxx,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Author: as $ $Date: 2001-08-16 12:15:53 $ * last change: $Author: hr $ $Date: 2001-10-09 18:33:40 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -125,13 +125,13 @@ ________________________________________________________________________________ ...@@ -125,13 +125,13 @@ ________________________________________________________________________________
// XInterface::release() // XInterface::release()
//***************************************************************************************************************** //*****************************************************************************************************************
#define PRIVATE_DEFINE_XINTERFACE_AQUIRE_RELEASE( CLASS, BASECLASS ) \ #define PRIVATE_DEFINE_XINTERFACE_AQUIRE_RELEASE( CLASS, BASECLASS ) \
void SAL_CALL CLASS::acquire() throw( ::com::sun::star::uno::RuntimeException ) \ void SAL_CALL CLASS::acquire() throw() \
{ \ { \
/* Don't use mutex in methods of XInterface! */ \ /* Don't use mutex in methods of XInterface! */ \
BASECLASS::acquire(); \ BASECLASS::acquire(); \
} \ } \
\ \
void SAL_CALL CLASS::release() throw( ::com::sun::star::uno::RuntimeException ) \ void SAL_CALL CLASS::release() throw() \
{ \ { \
/* Don't use mutex in methods of XInterface! */ \ /* Don't use mutex in methods of XInterface! */ \
BASECLASS::release(); \ BASECLASS::release(); \
...@@ -287,8 +287,8 @@ ________________________________________________________________________________ ...@@ -287,8 +287,8 @@ ________________________________________________________________________________
//***************************************************************************************************************** //*****************************************************************************************************************
#define DECLARE_XINTERFACE \ #define DECLARE_XINTERFACE \
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException ); \ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException ); \
virtual void SAL_CALL acquire ( ) throw( ::com::sun::star::uno::RuntimeException ); \ virtual void SAL_CALL acquire ( ) throw(); \
virtual void SAL_CALL release ( ) throw( ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL release ( ) throw();
//***************************************************************************************************************** //*****************************************************************************************************************
// public // public
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: menudocumenthandler.hxx,v $ * $RCSfile: menudocumenthandler.hxx,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Author: as $ $Date: 2001-06-11 10:21:31 $ * last change: $Author: hr $ $Date: 2001-10-09 18:30:49 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -105,9 +105,9 @@ class ReadMenuDocumentHandlerBase : public ::com::sun::star::xml::sax::XDocument ...@@ -105,9 +105,9 @@ class ReadMenuDocumentHandlerBase : public ::com::sun::star::xml::sax::XDocument
virtual ~ReadMenuDocumentHandlerBase(); virtual ~ReadMenuDocumentHandlerBase();
// XInterface // XInterface
virtual void SAL_CALL acquire() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL acquire() throw()
{ OWeakObject::acquire(); } { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL release() throw()
{ OWeakObject::release(); } { OWeakObject::release(); }
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException ); const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: saxnamespacefilter.hxx,v $ * $RCSfile: saxnamespacefilter.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: as $ $Date: 2001-06-11 10:21:46 $ * last change: $Author: hr $ $Date: 2001-10-09 18:30:49 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -104,9 +104,9 @@ class SaxNamespaceFilter : public ::com::sun::star::xml::sax::XDocumentHandler, ...@@ -104,9 +104,9 @@ class SaxNamespaceFilter : public ::com::sun::star::xml::sax::XDocumentHandler,
virtual ~SaxNamespaceFilter(); virtual ~SaxNamespaceFilter();
// XInterface // XInterface
virtual void SAL_CALL acquire() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL acquire() throw()
{ OWeakObject::acquire(); } { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw( ::com::sun::star::uno::RuntimeException ) virtual void SAL_CALL release() throw()
{ OWeakObject::release(); } { OWeakObject::release(); }
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException ); const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment