summaryrefslogtreecommitdiff
path: root/dbaccess/source/inc/apitools.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-08-05 20:31:29 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-08-05 20:31:47 +0200
commitc04c2114d9159646dddd4807d026c9fee6953817 (patch)
tree27c9530336ed5cc6652ee6147ff175875e4c6a64 /dbaccess/source/inc/apitools.hxx
parenta76dac1fb62823c357ad8f2bd789483b7ea7badd (diff)
Remove unused macros
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
Diffstat (limited to 'dbaccess/source/inc/apitools.hxx')
-rw-r--r--dbaccess/source/inc/apitools.hxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx
index c7843b1861e2..11fff17bf856 100644
--- a/dbaccess/source/inc/apitools.hxx
+++ b/dbaccess/source/inc/apitools.hxx
@@ -395,34 +395,6 @@ public:
} \
_rGuard.reset();
-#define NOTIFY_LISTERNERS1(_rListeners,T,method,arg1) \
- Sequence< Reference< XInterface > > aListenerSeq = _rListeners.getElements(); \
- \
- const Reference< XInterface >* pxIntBegin = aListenerSeq.getConstArray(); \
- const Reference< XInterface >* pxInt = pxIntBegin + aListenerSeq.getLength(); \
- \
- _rGuard.clear(); \
- while( pxInt > pxIntBegin ) \
- { \
- try \
- { \
- while( pxInt > pxIntBegin ) \
- { \
- --pxInt; \
- static_cast< T* >( pxInt->get() )->method(aEvt,arg1); \
- } \
- } \
- catch( RuntimeException& ) \
- { \
- } \
- } \
- _rGuard.reset();
-
-
-//==================================================================================
-// miscellaneous
-#define UNUSED(x) x;
-
#endif // _DBASHARED_APITOOLS_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */