summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/SQLException.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/jdbc/SQLException.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/SQLException.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/jdbc/SQLException.cxx b/connectivity/source/drivers/jdbc/SQLException.cxx
index 25a1d5b06024..cf08f5c42ce5 100644
--- a/connectivity/source/drivers/jdbc/SQLException.cxx
+++ b/connectivity/source/drivers/jdbc/SQLException.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -33,7 +34,6 @@
using namespace connectivity;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
-// using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
@@ -66,7 +66,7 @@ jclass java_sql_SQLException_BASE::getMyClass() const
}
jclass java_sql_SQLException_BASE::st_getMyClass()
{
- // die Klasse muss nur einmal geholt werden, daher statisch
+ // The class needs to be fetched just once, that is why it is static
if( !theClass )
theClass = findMyClass("java/sql/SQLException");
return theClass;
@@ -77,7 +77,7 @@ starsdbc::SQLException java_sql_SQLException_BASE::getNextException() const
SDBThreadAttach t;
static jmethodID mID(NULL);
jobject out = callObjectMethod(t.pEnv,"getNextException","()Ljava/sql/SQLException;", mID);
- // ACHTUNG: der Aufrufer wird Eigentuemer des zurueckgelieferten Zeigers !!!
+ // WARNING: the caller will become the owner of the returned pointers !!!
if( out )
{
java_sql_SQLException_BASE warn_base(t.pEnv,out);
@@ -98,3 +98,4 @@ sal_Int32 java_sql_SQLException_BASE::getErrorCode() const
return callIntMethod("getErrorCode",mID);
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */