summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/Object.cxx
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2001-03-20 16:03:18 +0000
committerJoachim Lingner <jl@openoffice.org>2001-03-20 16:03:18 +0000
commitc168df03ff15efe0ec0fd381de9bdc79f4b58f0b (patch)
tree9a7faafb915d1ba7ca19848ca3b6a6ab1d3b3cf6 /connectivity/source/drivers/jdbc/Object.cxx
parent43787553220e349c6030465498e1fe82653a7b50 (diff)
OSL_ENSHURE replaced by OSL_ENSURE
Diffstat (limited to 'connectivity/source/drivers/jdbc/Object.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/Object.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/jdbc/Object.cxx b/connectivity/source/drivers/jdbc/Object.cxx
index 566290150c..8ba9fec83b 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.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: oj $ $Date: 2000-12-12 13:33:31 $
+ * last change: $Author: jl $ $Date: 2001-03-20 17:03:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -133,7 +133,7 @@ int SDB_JRE_InitJava(const Reference<XMultiServiceFactory >& _rxFactory)
Reference< ::starjava::XJavaVM > xVM(_rxFactory->createInstance(
rtl::OUString::createFromAscii("com.sun.star.java.JavaVirtualMachine")), UNO_QUERY);
- OSL_ENSHURE(_rxFactory.is(),"SDB_JRE_InitJava: I have no factory!");
+ OSL_ENSURE(_rxFactory.is(),"SDB_JRE_InitJava: I have no factory!");
if (!xVM.is() || !_rxFactory.is())
throw Exception(); // -2;
@@ -325,7 +325,7 @@ java_lang_Object::~java_lang_Object()
// der protected-Konstruktor fuer abgeleitete Klassen
void java_lang_Object::saveRef( JNIEnv * pXEnv, jobject myObj )
{
- OSL_ENSHURE( myObj, "object in c++ -> Java Wrapper" );
+ OSL_ENSURE( myObj, "object in c++ -> Java Wrapper" );
SDBThreadAttach t;
if( t.pEnv && myObj )
object = t.pEnv->NewGlobalRef( myObj );