summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/Object.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-11-27 08:28:19 +0000
committerOcke Janssen <oj@openoffice.org>2002-11-27 08:28:19 +0000
commit630b6a19754b7e8dacaca06e32e15d91c38f1445 (patch)
tree393d6fdb006faaf3c49d156976052cbed347281c /connectivity/source/drivers/jdbc/Object.cxx
parent8090a60db3b39df315f78b5cf6f73aa1c0b63402 (diff)
#105213# check if en is null
Diffstat (limited to 'connectivity/source/drivers/jdbc/Object.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/Object.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/jdbc/Object.cxx b/connectivity/source/drivers/jdbc/Object.cxx
index 23edb7efd7..121eba1884 100644
--- a/connectivity/source/drivers/jdbc/Object.cxx
+++ b/connectivity/source/drivers/jdbc/Object.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Object.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: oj $ $Date: 2002-11-01 10:58:36 $
+ * last change: $Author: oj $ $Date: 2002-11-27 09:28:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -170,7 +170,8 @@ int SDB_JRE_InitJava(const Reference<XMultiServiceFactory >& _rxFactory)
}
catch (Exception& e)
{
- isExceptionOccured(pEnv,sal_True);
+ if ( pEnv )
+ isExceptionOccured(pEnv,sal_True);
result = -1;
}