summaryrefslogtreecommitdiff
path: root/extensions/workben/pythonautotest.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 11:26:15 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 11:26:15 +0000
commit53d25966b856d5fec75dea580e329c8b1e448b01 (patch)
treeefb34758e977a5a069c192cb3be8bfa5aa600f9c /extensions/workben/pythonautotest.cxx
parent7ddd7bf16ff1ce6cb5c6233ebfc29fe30906998a (diff)
INTEGRATION: CWS ooo20031216 (1.2.126); FILE MERGED
2003/12/28 12:08:35 waratah 1.2.126.1: #i23913# remove TRY CATCH macros
Diffstat (limited to 'extensions/workben/pythonautotest.cxx')
-rw-r--r--extensions/workben/pythonautotest.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/workben/pythonautotest.cxx b/extensions/workben/pythonautotest.cxx
index eee177cb5..2b5d1d9b8 100644
--- a/extensions/workben/pythonautotest.cxx
+++ b/extensions/workben/pythonautotest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pythonautotest.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2003-04-15 16:20:26 $
+ * last change: $Author: hr $ $Date: 2004-02-04 12:25:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -507,16 +507,16 @@ int __LOADONCALLAPI main (int argc, char **argv)
// check exception handling !
{
- TRY {
+ try {
xInvoke->invoke( L"foo" , Sequence<UsrAny>(1) , Sequence<INT16>(), Sequence<UsrAny> () );
// wrong number of arguments
assert( 0 );
}
- CATCH ( IllegalArgumentException , e ) {
+ catch ( IllegalArgumentException& e ) {
}
- CATCH ( InvocationTargetException , e ) {
+ catch ( InvocationTargetException& e ) {
}
- CATCH ( CannotConvertException , e ) {
+ catch ( CannotConvertException& e ) {
// empty any cannot be converted
}
}