summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2001-09-13 13:15:52 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2001-09-13 13:15:52 +0000
commit528b2beeea61ace34e5608038cd5fe8c6a166f66 (patch)
tree4b9cf987257fd69bf4025698d8428c38bfba5b54 /dbaccess/source
parenta776debc79da98f1af61eda4e659af3bfe3ec3f5 (diff)
#92075#: exception specification
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/browser/dbloader.cxx12
-rw-r--r--dbaccess/source/ui/browser/exsrcbrw.cxx6
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx14
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx10
-rw-r--r--dbaccess/source/ui/browser/sbamultiplex.cxx14
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx6
-rw-r--r--dbaccess/source/ui/inc/exsrcbrw.hxx6
-rw-r--r--dbaccess/source/ui/inc/sbagrid.hxx14
-rw-r--r--dbaccess/source/ui/inc/sbamultiplex.hxx27
-rw-r--r--dbaccess/source/ui/inc/unodatbr.hxx6
10 files changed, 57 insertions, 58 deletions
diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx
index b7ea75c134f9..754a637c6811 100644
--- a/dbaccess/source/ui/browser/dbloader.cxx
+++ b/dbaccess/source/ui/browser/dbloader.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbloader.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: fs $ $Date: 2001-05-14 07:24:45 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:15:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -148,8 +148,8 @@ public:
// XLoader
virtual void SAL_CALL load( const Reference< XFrame > & _rFrame, const ::rtl::OUString& _rURL,
const Sequence< PropertyValue >& _rArgs,
- const Reference< XLoadEventListener > & _rListener);
- virtual void SAL_CALL cancel(void);
+ const Reference< XLoadEventListener > & _rListener) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL cancel(void) throw();
};
DBContentLoader::DBContentLoader(const Reference< XMultiServiceFactory >& _rxFactory)
@@ -228,7 +228,7 @@ extern "C" void SAL_CALL writeDBLoaderInfo(void* pRegistryKey)
// -----------------------------------------------------------------------
void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const ::rtl::OUString& rURL,
const Sequence< PropertyValue >& rArgs,
- const Reference< XLoadEventListener > & rListener)
+ const Reference< XLoadEventListener > & rListener) throw(::com::sun::star::uno::RuntimeException)
{
m_xFrame = rFrame;
m_xListener = rListener;
@@ -291,6 +291,6 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const ::
}
// -----------------------------------------------------------------------
-void DBContentLoader::cancel(void)
+void DBContentLoader::cancel(void) throw()
{
}
diff --git a/dbaccess/source/ui/browser/exsrcbrw.cxx b/dbaccess/source/ui/browser/exsrcbrw.cxx
index 9917c0884e9e..9e6626652149 100644
--- a/dbaccess/source/ui/browser/exsrcbrw.cxx
+++ b/dbaccess/source/ui/browser/exsrcbrw.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: exsrcbrw.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: fs $ $Date: 2001-08-21 14:18:51 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:15:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -200,7 +200,7 @@ void SbaExternalSourceBrowser::modified(const ::com::sun::star::lang::EventObjec
}
//------------------------------------------------------------------
-void SAL_CALL SbaExternalSourceBrowser::dispatch(const ::com::sun::star::util::URL& aURL, const Sequence< ::com::sun::star::beans::PropertyValue>& aArgs)
+void SAL_CALL SbaExternalSourceBrowser::dispatch(const ::com::sun::star::util::URL& aURL, const Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) throw(::com::sun::star::uno::RuntimeException)
{
const ::com::sun::star::beans::PropertyValue* pArguments = aArgs.getConstArray();
if (aURL.Complete.equals(::rtl::OUString::createFromAscii(".uno:FormSlots/AddGridColumn")))
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 2c3d0cbba1e9..315ba7d057a0 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: genericcontroller.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: oj $ $Date: 2001-08-27 06:57:24 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:15:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -651,7 +651,7 @@ void OGenericUnoController::setMasterDispatchProvider(const Reference< ::com::su
}
// -----------------------------------------------------------------------
-void OGenericUnoController::dispatch(const ::com::sun::star::util::URL& aURL, const Sequence< PropertyValue >& aArgs)
+void OGenericUnoController::dispatch(const ::com::sun::star::util::URL& aURL, const Sequence< PropertyValue >& aArgs) throw(::com::sun::star::uno::RuntimeException)
{
SupportedFeatures::const_iterator aIter = m_aSupportedFeatures.find(aURL.Complete);
if (aIter != m_aSupportedFeatures.end())
@@ -659,7 +659,7 @@ void OGenericUnoController::dispatch(const ::com::sun::star::util::URL& aURL, co
}
// -----------------------------------------------------------------------
-void OGenericUnoController::addStatusListener(const Reference< ::com::sun::star::frame::XStatusListener > & aListener, const ::com::sun::star::util::URL& _rURL)
+void OGenericUnoController::addStatusListener(const Reference< ::com::sun::star::frame::XStatusListener > & aListener, const ::com::sun::star::util::URL& _rURL) throw(::com::sun::star::uno::RuntimeException)
{
// remeber the listener together with the ::com::sun::star::util::URL
m_arrStatusListener.insert(m_arrStatusListener.end(), DispatchTarget(_rURL, aListener));
@@ -669,7 +669,7 @@ void OGenericUnoController::addStatusListener(const Reference< ::com::sun::star:
}
// -----------------------------------------------------------------------
-void OGenericUnoController::removeStatusListener(const Reference< ::com::sun::star::frame::XStatusListener > & aListener, const ::com::sun::star::util::URL& _rURL)
+void OGenericUnoController::removeStatusListener(const Reference< ::com::sun::star::frame::XStatusListener > & aListener, const ::com::sun::star::util::URL& _rURL) throw(::com::sun::star::uno::RuntimeException)
{
DispatchIterator iterSearch = m_arrStatusListener.begin();
DispatchIterator iterEnd = m_arrStatusListener.end();
@@ -752,13 +752,13 @@ void OGenericUnoController::disposing()
}
// -----------------------------------------------------------------------
-void OGenericUnoController::addEventListener(const Reference< XEventListener > & aListener)
+void OGenericUnoController::addEventListener(const Reference< XEventListener > & aListener) throw(::com::sun::star::uno::RuntimeException)
{
OGenericUnoController_COMPBASE::addEventListener(aListener);
}
// -----------------------------------------------------------------------
-void OGenericUnoController::removeEventListener(const Reference< XEventListener > & aListener)
+void OGenericUnoController::removeEventListener(const Reference< XEventListener > & aListener) throw(::com::sun::star::uno::RuntimeException)
{
OGenericUnoController_COMPBASE::removeEventListener(aListener);
}
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 919c3728059b..fe0552be5526 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sbagrid.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: oj $ $Date: 2001-08-27 06:57:24 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:15:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -727,7 +727,7 @@ void SAL_CALL SbaXGridPeer::removeStatusListener(const Reference< ::com::sun::st
}
//---------------------------------------------------------------------------------------
-void SAL_CALL SbaXGridPeer::selectionChanged(const EventObject& aEvent)
+void SAL_CALL SbaXGridPeer::selectionChanged(const EventObject& aEvent) throw(::com::sun::star::uno::RuntimeException)
{
FmXGridPeer::selectionChanged(aEvent);
@@ -800,7 +800,7 @@ Sequence< Type > SAL_CALL SbaXGridPeer::getTypes() throw (RuntimeException)
// return implementation specific data
//------------------------------------------------------------------
-sal_Int64 SAL_CALL SbaXGridPeer::getSomething( const Sequence< sal_Int8 > & rId )
+sal_Int64 SAL_CALL SbaXGridPeer::getSomething( const Sequence< sal_Int8 > & rId ) throw(::com::sun::star::uno::RuntimeException)
{
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) )
return (sal_Int64)this;
@@ -819,7 +819,7 @@ SbaXGridPeer* SbaXGridPeer::getImplementation(const Reference< XInterface >& _rx
}
//---------------------------------------------------------------------------------------
-void SAL_CALL SbaXGridPeer::propertyChange(const PropertyChangeEvent& evt)
+void SAL_CALL SbaXGridPeer::propertyChange(const PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException)
{
FmXGridPeer::propertyChange(evt);
}
diff --git a/dbaccess/source/ui/browser/sbamultiplex.cxx b/dbaccess/source/ui/browser/sbamultiplex.cxx
index 2b671d0ec0ab..88f27a7c1ec9 100644
--- a/dbaccess/source/ui/browser/sbamultiplex.cxx
+++ b/dbaccess/source/ui/browser/sbamultiplex.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sbamultiplex.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: oj $ $Date: 2000-10-26 14:44:13 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:15:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -141,17 +141,17 @@ IMPLEMENT_LISTENER_MULTIPLEXER_BOOL_METHOD(SbaXResetMultiplexer, ::com::sun::sta
IMPLEMENT_LISTENER_MULTIPLEXER_VOID_METHOD(SbaXResetMultiplexer, ::com::sun::star::form::XResetListener, resetted, ::com::sun::star::lang::EventObject)
// ::com::sun::star::beans::XPropertyChangeListener
-IMPLEMENT_PROPERTY_MULTIPLEXER(SbaXPropertyChangeMultiplexer, ::com::sun::star::beans::XPropertyChangeListener, propertyChange, ::com::sun::star::beans::PropertyChangeEvent)
+IMPLEMENT_PROPERTY_MULTIPLEXER(SbaXPropertyChangeMultiplexer, ::com::sun::star::beans::XPropertyChangeListener, propertyChange, ::com::sun::star::beans::PropertyChangeEvent, (::com::sun::star::uno::RuntimeException))
// ::com::sun::star::beans::XVetoableChangeListener
-IMPLEMENT_PROPERTY_MULTIPLEXER(SbaXVetoableChangeMultiplexer, ::com::sun::star::beans::XVetoableChangeListener, vetoableChange, ::com::sun::star::beans::PropertyChangeEvent)
+IMPLEMENT_PROPERTY_MULTIPLEXER(SbaXVetoableChangeMultiplexer, ::com::sun::star::beans::XVetoableChangeListener, vetoableChange, ::com::sun::star::beans::PropertyChangeEvent, (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException))
// ::com::sun::star::beans::XPropertyStateChangeListener
-IMPLEMENT_PROPERTY_MULTIPLEXER(SbaXPropertyStateChangeMultiplexer, ::com::sun::star::beans::XPropertyStateChangeListener, propertyStateChange, ::com::sun::star::beans::PropertyStateChangeEvent)
+IMPLEMENT_PROPERTY_MULTIPLEXER(SbaXPropertyStateChangeMultiplexer, ::com::sun::star::beans::XPropertyStateChangeListener, propertyStateChange, ::com::sun::star::beans::PropertyStateChangeEvent, (::com::sun::star::uno::RuntimeException))
// ::com::sun::star::beans::XPropertiesChangeListener
- IMPLEMENT_LISTENER_MULTIPLEXER_CORE(SbaXPropertiesChangeMultiplexer, ::com::sun::star::beans::XPropertiesChangeListener);
-void SbaXPropertiesChangeMultiplexer::propertiesChange(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyChangeEvent>& aEvts)
+IMPLEMENT_LISTENER_MULTIPLEXER_CORE(SbaXPropertiesChangeMultiplexer, ::com::sun::star::beans::XPropertiesChangeListener);
+void SbaXPropertiesChangeMultiplexer::propertiesChange(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyChangeEvent>& aEvts) throw(::com::sun::star::uno::RuntimeException)
{
// the SbaXPropertiesChangeMultiplexer doesn't care about the property names a listener logs on for, it simply
// forwards _all_ changes to _all_ listeners
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index e463c1b992bd..0c6f419ed37b 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unodatbr.cxx,v $
*
- * $Revision: 1.105 $
+ * $Revision: 1.106 $
*
- * last change: $Author: fs $ $Date: 2001-08-30 14:35:11 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:15:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -814,7 +814,7 @@ void SbaTableQueryBrowser::transferChangedControlProperty(const ::rtl::OUString&
}
// -----------------------------------------------------------------------
-void SbaTableQueryBrowser::propertyChange(const PropertyChangeEvent& evt)
+void SbaTableQueryBrowser::propertyChange(const PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException)
{
SbaXDataBrowserController::propertyChange(evt);
diff --git a/dbaccess/source/ui/inc/exsrcbrw.hxx b/dbaccess/source/ui/inc/exsrcbrw.hxx
index 4f7588442413..d0054e724fbf 100644
--- a/dbaccess/source/ui/inc/exsrcbrw.hxx
+++ b/dbaccess/source/ui/inc/exsrcbrw.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: exsrcbrw.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: fs $ $Date: 2001-05-16 14:24:48 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:14:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -108,7 +108,7 @@ namespace dbaui
// static ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > getStaticIdlClass();
// ::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 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);
// ::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) throw( ::com::sun::star::uno::RuntimeException );
diff --git a/dbaccess/source/ui/inc/sbagrid.hxx b/dbaccess/source/ui/inc/sbagrid.hxx
index 3d58ebe3c703..7cf0684b5b9e 100644
--- a/dbaccess/source/ui/inc/sbagrid.hxx
+++ b/dbaccess/source/ui/inc/sbagrid.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sbagrid.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: fs $ $Date: 2001-06-29 08:35:25 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:14:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -172,14 +172,14 @@ namespace dbaui
virtual ~SbaXGridPeer();
// UNO
- virtual void SAL_CALL acquire() { FmXGridPeer::acquire(); }
- virtual void SAL_CALL release() { FmXGridPeer::release(); }
+ virtual void SAL_CALL acquire() throw() { FmXGridPeer::acquire(); }
+ virtual void SAL_CALL release() throw() { FmXGridPeer::release(); }
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException);
static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
- sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 > & rId );
+ sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 > & rId ) throw (::com::sun::star::uno::RuntimeException);
static SbaXGridPeer* getImplementation(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& _rxIFace);
// ::com::sun::star::frame::XDispatch
@@ -191,10 +191,10 @@ namespace dbaui
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 );
// ::com::sun::star::view::XSelectionChangeListener
- virtual void SAL_CALL selectionChanged(const ::com::sun::star::lang::EventObject& aEvent);
+ virtual void SAL_CALL selectionChanged(const ::com::sun::star::lang::EventObject& aEvent) throw(::com::sun::star::uno::RuntimeException);
// ::com::sun::star::beans::XPropertyChangeListener
- virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt);
+ virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException);
// FmXGridPeer overridables
virtual void addColumnListeners(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & xCol);
diff --git a/dbaccess/source/ui/inc/sbamultiplex.hxx b/dbaccess/source/ui/inc/sbamultiplex.hxx
index b28d0a4761c6..75c54ba7fae4 100644
--- a/dbaccess/source/ui/inc/sbamultiplex.hxx
+++ b/dbaccess/source/ui/inc/sbamultiplex.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sbamultiplex.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2000-10-31 12:50:30 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:14:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -175,11 +175,10 @@ namespace dbaui
#define DECLARE_MULTIPLEXER_VOID_METHOD(methodname, eventtype) \
- virtual void SAL_CALL methodname(const eventtype& e); \
-
+ virtual void SAL_CALL methodname(const eventtype& e) throw (::com::sun::star::uno::RuntimeException); \
#define DECLARE_MULTIPLEXER_BOOL_METHOD(methodname, eventtype) \
- virtual sal_Bool SAL_CALL methodname(const eventtype& e); \
+ virtual sal_Bool SAL_CALL methodname(const eventtype& e) throw (::com::sun::star::uno::RuntimeException); \
#define END_DECLARE_LISTENER_MULTIPLEXER() \
@@ -220,7 +219,7 @@ namespace dbaui
#define IMPLEMENT_LISTENER_MULTIPLEXER_VOID_METHOD(classname, listenerclass, methodname, eventtype) \
- void SAL_CALL classname::methodname(const eventtype& e) \
+ void SAL_CALL classname::methodname(const eventtype& e) throw (::com::sun::star::uno::RuntimeException) \
{ \
eventtype aMulti(e); \
aMulti.Source = &m_rParent; \
@@ -231,7 +230,7 @@ namespace dbaui
#define IMPLEMENT_LISTENER_MULTIPLEXER_BOOL_METHOD(classname, listenerclass, methodname, eventtype) \
/*................................................................*/ \
- sal_Bool SAL_CALL classname::methodname(const eventtype& e) \
+ sal_Bool SAL_CALL classname::methodname(const eventtype& e) throw (::com::sun::star::uno::RuntimeException) \
{ \
eventtype aMulti(e); \
aMulti.Source = &m_rParent; \
@@ -291,7 +290,7 @@ namespace dbaui
// declaration of property listener multiplexers
// (with support for specialized and unspecialized property listeners)
- #define DECLARE_PROPERTY_MULTIPLEXER(classname, listenerclass, methodname, eventtype) \
+ #define DECLARE_PROPERTY_MULTIPLEXER(classname, listenerclass, methodname, eventtype, exceptions) \
class classname \
:public OSbaWeakSubObject \
,public listenerclass \
@@ -309,7 +308,7 @@ namespace dbaui
/* ::com::sun::star::lang::XEventListener */ \
virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw(::com::sun::star::uno::RuntimeException); \
\
- virtual void SAL_CALL methodname(const eventtype& e); \
+ virtual void SAL_CALL methodname(const eventtype& e) throw exceptions; \
\
public: \
void addInterface(const ::rtl::OUString& rName, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rListener); \
@@ -329,7 +328,7 @@ namespace dbaui
//------------------------------------------------------------------
// implementation of property listener multiplexers
- #define IMPLEMENT_PROPERTY_MULTIPLEXER(classname, listenerclass, methodname, eventtype) \
+ #define IMPLEMENT_PROPERTY_MULTIPLEXER(classname, listenerclass, methodname, eventtype, exceptions) \
/*................................................................*/ \
classname::classname(::cppu::OWeakObject& rSource, ::osl::Mutex& rMutex) \
:OSbaWeakSubObject(rSource) \
@@ -355,7 +354,7 @@ namespace dbaui
{ \
} \
\
- void SAL_CALL classname::methodname(const eventtype& e) \
+ void SAL_CALL classname::methodname(const eventtype& e) throw exceptions \
{ \
::cppu::OInterfaceContainerHelper* pListeners = m_aListeners.getContainer(e.PropertyName); \
if (pListeners) \
@@ -539,13 +538,13 @@ namespace dbaui
END_DECLARE_LISTENER_MULTIPLEXER()
// ::com::sun::star::beans::XPropertyChangeListener
- DECLARE_PROPERTY_MULTIPLEXER(SbaXPropertyChangeMultiplexer, ::com::sun::star::beans::XPropertyChangeListener, propertyChange, ::com::sun::star::beans::PropertyChangeEvent)
+ DECLARE_PROPERTY_MULTIPLEXER(SbaXPropertyChangeMultiplexer, ::com::sun::star::beans::XPropertyChangeListener, propertyChange, ::com::sun::star::beans::PropertyChangeEvent, (::com::sun::star::uno::RuntimeException))
// ::com::sun::star::beans::XVetoableChangeListener
- DECLARE_PROPERTY_MULTIPLEXER(SbaXVetoableChangeMultiplexer, ::com::sun::star::beans::XVetoableChangeListener, vetoableChange, ::com::sun::star::beans::PropertyChangeEvent)
+ DECLARE_PROPERTY_MULTIPLEXER(SbaXVetoableChangeMultiplexer, ::com::sun::star::beans::XVetoableChangeListener, vetoableChange, ::com::sun::star::beans::PropertyChangeEvent, (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException))
// ::com::sun::star::beans::XPropertyStateChangeListener
- DECLARE_PROPERTY_MULTIPLEXER(SbaXPropertyStateChangeMultiplexer, ::com::sun::star::beans::XPropertyStateChangeListener, propertyStateChange, ::com::sun::star::beans::PropertyStateChangeEvent)
+ DECLARE_PROPERTY_MULTIPLEXER(SbaXPropertyStateChangeMultiplexer, ::com::sun::star::beans::XPropertyStateChangeListener, propertyStateChange, ::com::sun::star::beans::PropertyStateChangeEvent, (::com::sun::star::uno::RuntimeException))
// ::com::sun::star::beans::XPropertiesChangeListener
BEGIN_DECLARE_LISTENER_MULTIPLEXER(SbaXPropertiesChangeMultiplexer, ::com::sun::star::beans::XPropertiesChangeListener)
diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx
index ac296fcec533..307db3dfa801 100644
--- a/dbaccess/source/ui/inc/unodatbr.hxx
+++ b/dbaccess/source/ui/inc/unodatbr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unodatbr.hxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: fs $ $Date: 2001-08-16 10:35:57 $
+ * last change: $Author: hr $ $Date: 2001-09-13 14:14:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -202,7 +202,7 @@ namespace dbaui
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw (::com::sun::star::uno::RuntimeException);
// ::com::sun::star::beans::XPropertyChangeListener
- virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt);
+ virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException);
// ::com::sun::star::frame::XController
virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( ::com::sun::star::uno::RuntimeException );