[PATCH] translated comments
Rob Snelders
programming at ertai.nl
Wed Mar 23 15:16:24 PDT 2011
---
connectivity/source/drivers/dbase/dindexnode.cxx | 2 +-
.../source/drivers/jdbc/ResultSetMetaData.cxx | 2 +-
connectivity/source/drivers/jdbc/SQLException.cxx | 4 +-
connectivity/source/drivers/jdbc/SQLWarning.cxx | 2 +-
connectivity/source/drivers/jdbc/String.cxx | 2 +-
connectivity/source/drivers/jdbc/Throwable.cxx | 2 +-
connectivity/source/drivers/jdbc/Timestamp.cxx | 18 ++--
connectivity/source/drivers/jdbc/tools.cxx | 22 +++---
.../source/drivers/mozab/MPreparedStatement.cxx | 16 ++--
connectivity/source/drivers/mozab/MResultSet.cxx | 3 +-
connectivity/source/drivers/mozab/MStatement.hxx | 2 +-
connectivity/source/drivers/odbc/OFunctions.cxx | 4 +-
connectivity/source/drivers/odbc/ORealDriver.cxx | 10 +-
connectivity/source/drivers/odbcbase/OTools.cxx | 79 +++++++++-----------
.../inc/FDatabaseMetaDataResultSetMetaData.hxx | 1 +
.../source/inc/adabas/BResultSetMetaData.hxx | 2 +-
connectivity/source/inc/ado/ACallableStatement.hxx | 2 +-
.../source/inc/ado/ADatabaseMetaDataResultSet.hxx | 2 +-
.../inc/ado/ADatabaseMetaDataResultSetMetaData.hxx | 2 +-
connectivity/source/inc/ado/APreparedStatement.hxx | 2 +-
connectivity/source/inc/ado/AResultSet.hxx | 2 +-
connectivity/source/inc/ado/AResultSetMetaData.hxx | 2 +-
connectivity/source/inc/ado/AStatement.hxx | 2 +-
.../inc/dbase/DDatabaseMetaDataResultSet.hxx | 2 +-
.../dbase/DDatabaseMetaDataResultSetMetaData.hxx | 2 +-
.../source/inc/file/FPreparedStatement.hxx | 2 +-
connectivity/source/inc/file/FResultSet.hxx | 2 +-
.../source/inc/file/FResultSetMetaData.hxx | 2 +-
connectivity/source/inc/file/FStatement.hxx | 2 +-
connectivity/source/inc/java/io/InputStream.hxx | 8 +-
connectivity/source/inc/java/io/Reader.hxx | 5 +-
connectivity/source/inc/java/lang/Boolean.hxx | 4 +-
connectivity/source/inc/java/lang/Class.hxx | 6 +-
connectivity/source/inc/java/lang/Exception.hxx | 4 +-
connectivity/source/inc/java/lang/String.hxx | 4 +-
connectivity/source/inc/java/lang/Throwable.hxx | 4 +-
connectivity/source/inc/java/math/BigDecimal.hxx | 4 +-
37 files changed, 113 insertions(+), 123 deletions(-)
diff --git a/connectivity/source/drivers/dbase/dindexnode.cxx b/connectivity/source/drivers/dbase/dindexnode.cxx
index 89362ca..f928d6e 100755
--- a/connectivity/source/drivers/dbase/dindexnode.cxx
+++ b/connectivity/source/drivers/dbase/dindexnode.cxx
@@ -486,7 +486,7 @@ void ONDXPage::Merge(sal_uInt16 nParentNodePos, ONDXPagePtr xPage)
nMaxNodes_2 = nMaxNodes / 2;
// Determine if page is right or left neighbour
- sal_Bool bRight = ((*xPage)[0].GetKey() > (*this)[0].GetKey()); // sal_True, wenn xPage die rechte Seite ist
+ sal_Bool bRight = ((*xPage)[0].GetKey() > (*this)[0].GetKey()); // sal_True, whenn xPage the right side is
sal_uInt16 nNewCount = (*xPage).Count() + Count();
if (IsLeaf())
diff --git a/connectivity/source/drivers/jdbc/ResultSetMetaData.cxx b/connectivity/source/drivers/jdbc/ResultSetMetaData.cxx
index 15ce6fe..a6da067 100755
--- a/connectivity/source/drivers/jdbc/ResultSetMetaData.cxx
+++ b/connectivity/source/drivers/jdbc/ResultSetMetaData.cxx
@@ -63,7 +63,7 @@ java_sql_ResultSetMetaData::~java_sql_ResultSetMetaData()
jclass java_sql_ResultSetMetaData::getMyClass() const
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "jdbc", "Ocke.Janssen at sun.com", "java_sql_ResultSetMetaData::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/ResultSetMetaData");
return theClass;
diff --git a/connectivity/source/drivers/jdbc/SQLException.cxx b/connectivity/source/drivers/jdbc/SQLException.cxx
index 26c94f5..a0ebe17 100755
--- a/connectivity/source/drivers/jdbc/SQLException.cxx
+++ b/connectivity/source/drivers/jdbc/SQLException.cxx
@@ -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);
diff --git a/connectivity/source/drivers/jdbc/SQLWarning.cxx b/connectivity/source/drivers/jdbc/SQLWarning.cxx
index ac01b0e..aa5c8fe 100755
--- a/connectivity/source/drivers/jdbc/SQLWarning.cxx
+++ b/connectivity/source/drivers/jdbc/SQLWarning.cxx
@@ -41,7 +41,7 @@ java_sql_SQLWarning_BASE::~java_sql_SQLWarning_BASE()
jclass java_sql_SQLWarning_BASE::getMyClass() const
{
- // die Klasse muss nur einmal geholt werden, daher statisch
+ // the class needs to be fetched only once, that is why it is static
if( !theClass )
theClass = findMyClass("java/sql/SQLWarning");
return theClass;
diff --git a/connectivity/source/drivers/jdbc/String.cxx b/connectivity/source/drivers/jdbc/String.cxx
index a215505..a85a3fd 100755
--- a/connectivity/source/drivers/jdbc/String.cxx
+++ b/connectivity/source/drivers/jdbc/String.cxx
@@ -46,7 +46,7 @@ jclass java_lang_String::getMyClass() const
}
jclass java_lang_String::st_getMyClass()
{
- // die Klasse muss nur einmal geholt werden, daher statisch
+ // the class needs to be fetched only once, that is why it is static
if( !theClass )
theClass = findMyClass("java/lang/String");
return theClass;
diff --git a/connectivity/source/drivers/jdbc/Throwable.cxx b/connectivity/source/drivers/jdbc/Throwable.cxx
index 0ae5b66..50302bc 100755
--- a/connectivity/source/drivers/jdbc/Throwable.cxx
+++ b/connectivity/source/drivers/jdbc/Throwable.cxx
@@ -46,7 +46,7 @@ jclass java_lang_Throwable::getMyClass() const
}
jclass java_lang_Throwable::st_getMyClass()
{
- // die Klasse muss nur einmal geholt werden, daher statisch
+ // the class needs to be fetched only once, that is why it is static
if( !theClass )
theClass = findMyClass("java/lang/Throwable");
return theClass;
diff --git a/connectivity/source/drivers/jdbc/Timestamp.cxx b/connectivity/source/drivers/jdbc/Timestamp.cxx
index 0eee1d5..f38a1a6 100755
--- a/connectivity/source/drivers/jdbc/Timestamp.cxx
+++ b/connectivity/source/drivers/jdbc/Timestamp.cxx
@@ -51,7 +51,7 @@ java_sql_Date::java_sql_Date( const ::com::sun::star::util::Date& _rOut ) : java
sDateStr = ::dbtools::DBTypeConversion::toDateString(_rOut);
args[0].l = convertwchar_tToJavaString(t.pEnv,sDateStr);
- // Java-Call fuer den Konstruktor absetzen
+ // Turn of Java-Call for the constructor
// initialise temporary variables
static const char * cSignature = "(Ljava/lang/String;)Ljava/sql/Date;";
jobject tempObj;
@@ -61,7 +61,7 @@ java_sql_Date::java_sql_Date( const ::com::sun::star::util::Date& _rOut ) : java
tempObj = t.pEnv->CallStaticObjectMethod( getMyClass(), mID, args[0].l );
saveRef( t.pEnv, tempObj );
t.pEnv->DeleteLocalRef( tempObj );
- // und aufraeumen
+ // and clean
}
java_sql_Date::~java_sql_Date()
@@ -73,7 +73,7 @@ jclass java_sql_Date::getMyClass() const
}
jclass java_sql_Date::st_getMyClass()
{
- // die Klasse muss nur einmal geholt werden, daher statisch
+ // the class needs only be fetched once, that is why it is static
if( !theClass )
theClass = findMyClass("java/sql/Date");
return theClass;
@@ -100,7 +100,7 @@ jclass java_sql_Time::getMyClass() const
}
jclass java_sql_Time::st_getMyClass()
{
- // die Klasse muss nur einmal geholt werden, daher statisch
+ // the class needs only be fetched once, that is why it is static
if( !theClass )
theClass = findMyClass("java/sql/Time");
return theClass;
@@ -116,7 +116,7 @@ java_sql_Time::java_sql_Time( const ::com::sun::star::util::Time& _rOut ): java_
sDateStr = ::dbtools::DBTypeConversion::toTimeString(_rOut);
args[0].l = convertwchar_tToJavaString(t.pEnv,sDateStr);
- // Java-Call fuer den Konstruktor absetzen
+ // Turn off Java-Call for the constructor
// intialise temporary variables
static const char * cSignature = "(Ljava/lang/String;)Ljava/sql/Time;";
jobject tempObj;
@@ -127,7 +127,7 @@ java_sql_Time::java_sql_Time( const ::com::sun::star::util::Time& _rOut ): java_
t.pEnv->DeleteLocalRef((jstring)args[0].l);
saveRef( t.pEnv, tempObj );
t.pEnv->DeleteLocalRef( tempObj );
- // und aufraeumen
+ // and clean
}
// -----------------------------------------------------------------------------
java_sql_Time::operator ::com::sun::star::util::Time()
@@ -150,7 +150,7 @@ jclass java_sql_Timestamp::getMyClass() const
jclass java_sql_Timestamp::st_getMyClass()
{
- // die Klasse muss nur einmal geholt werden, daher statisch
+ // the class needs only be fetched once, that is why it is static
if( !theClass )
theClass = findMyClass("java/sql/Timestamp");
return theClass;
@@ -169,7 +169,7 @@ java_sql_Timestamp::java_sql_Timestamp(const ::com::sun::star::util::DateTime& _
args[0].l = convertwchar_tToJavaString(t.pEnv,sDateStr);
- // Java-Call fuer den Konstruktor absetzen
+ // Turn off Java-Call for the constructor
// initialise temporary variables
static const char * cSignature = "(Ljava/lang/String;)Ljava/sql/Timestamp;";
jobject tempObj;
@@ -180,7 +180,7 @@ java_sql_Timestamp::java_sql_Timestamp(const ::com::sun::star::util::DateTime& _
saveRef( t.pEnv, tempObj );
t.pEnv->DeleteLocalRef( tempObj );
- // und aufraeumen
+ // and clean
}
// -----------------------------------------------------------------------------
diff --git a/connectivity/source/drivers/jdbc/tools.cxx b/connectivity/source/drivers/jdbc/tools.cxx
index 0de3380..5527aec 100755
--- a/connectivity/source/drivers/jdbc/tools.cxx
+++ b/connectivity/source/drivers/jdbc/tools.cxx
@@ -52,13 +52,13 @@ void java_util_Properties::setProperty(const ::rtl::OUString key, const ::rtl::O
{
jvalue args[2];
- // Parameter konvertieren
+ // Convert Parameter
args[0].l = convertwchar_tToJavaString(t.pEnv,key);
args[1].l = convertwchar_tToJavaString(t.pEnv,value);
- // temporaere Variable initialisieren
+ // Initialize temporary Variables
static const char * cSignature = "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;";
static const char * cMethodName = "setProperty";
- // Java-Call absetzen
+ // Turn off Java-Call
static jmethodID mID(NULL);
obtainMethodId(t.pEnv, cMethodName,cSignature, mID);
out = t.pEnv->CallObjectMethod(object, mID, args[0].l,args[1].l);
@@ -69,7 +69,7 @@ void java_util_Properties::setProperty(const ::rtl::OUString key, const ::rtl::O
if(out)
t.pEnv->DeleteLocalRef(out);
} //t.pEnv
- // ACHTUNG: der Aufrufer wird Eigentuemer des zurueckgelieferten Zeigers !!!
+ // WARNING: The caller will be owner of the returned pointers!!!
}
jclass java_util_Properties::theClass = 0;
@@ -78,7 +78,7 @@ java_util_Properties::~java_util_Properties()
jclass java_util_Properties::getMyClass() const
{
- // die Klasse muss nur einmal geholt werden, daher statisch
+ // the class needs only be called once, that is why it is static
if( !theClass )
theClass = findMyClass("java/util/Properties");
return theClass;
@@ -90,8 +90,8 @@ java_util_Properties::java_util_Properties( ): java_lang_Object( NULL, (jobject)
SDBThreadAttach t;
if( !t.pEnv )
return;
- // Java-Call fuer den Konstruktor absetzen
- // temporaere Variable initialisieren
+ // Turn off Java-Call for the constructor
+ // Initialize temperary Variables
static const char * cSignature = "()V";
jobject tempObj;
static jmethodID mID(NULL);
@@ -223,8 +223,8 @@ jobject connectivity::createByteInputStream(const ::com::sun::star::uno::Referen
SDBThreadAttach t;
if( !t.pEnv || !x.is() )
return NULL;
- // Java-Call fuer den Konstruktor absetzen
- // temporaere Variable initialisieren
+ // Turn off Java-Call for the constructor
+ // Initialize temperary variables
jclass clazz = java_lang_Object::findMyClass("java/io/ByteArrayInputStream");
static jmethodID mID(NULL);
if ( !mID )
@@ -250,8 +250,8 @@ jobject connectivity::createCharArrayReader(const ::com::sun::star::uno::Referen
SDBThreadAttach t;
if( !t.pEnv || !x.is() )
return NULL;
- // Java-Call fuer den Konstruktor absetzen
- // temporaere Variable initialisieren
+ // Turn off Java-Call for the constructor
+ // Initialize temperary Variables
jclass clazz = java_lang_Object::findMyClass("java/io/CharArrayReader");
static jmethodID mID(NULL);
if ( !mID )
diff --git a/connectivity/source/drivers/mozab/MPreparedStatement.cxx b/connectivity/source/drivers/mozab/MPreparedStatement.cxx
index c221684..6136507 100755
--- a/connectivity/source/drivers/mozab/MPreparedStatement.cxx
+++ b/connectivity/source/drivers/mozab/MPreparedStatement.cxx
@@ -418,7 +418,7 @@ ORowSetValue& x)
sal_uInt32 OPreparedStatement::AddParameter(OSQLParseNode * pParameter, const Reference<XPropertySet>& _xCol)
{
OSL_UNUSED( pParameter );
- // Nr. des neu hinzuzufuegenden Parameters:
+ // Nr. of the new added Parameters
sal_uInt32 nParameter = m_xParamColumns->get().size()+1;
OSL_ENSURE(SQL_ISRULE(pParameter,parameter),"OResultSet::AddParameter: Argument ist kein Parameter");
@@ -430,7 +430,7 @@ sal_uInt32 OPreparedStatement::AddParameter(OSQLParseNode * pParameter, const Re
::rtl::OUString sParameterName;
- // Parameter-Column aufsetzen:
+ // set up Parameter-Column:
sal_Int32 eType = DataType::VARCHAR;
sal_uInt32 nPrecision = 255;
sal_Int32 nScale = 0;
@@ -438,9 +438,9 @@ sal_uInt32 OPreparedStatement::AddParameter(OSQLParseNode * pParameter, const Re
if (_xCol.is())
{
- // Typ, Precision, Scale ... der angegebenen Column verwenden,
- // denn dieser Column wird der Wert zugewiesen bzw. mit dieser
- // Column wird der Wert verglichen.
+ // Type, Precision, Scale ... utilize the selected Columns,
+ // then this Column will get the value assigned or with this
+ // Column will the value be compared.
eType = getINT32(_xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)));
nPrecision = getINT32(_xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PRECISION)));
nScale = getINT32(_xCol->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_SCALE)));
@@ -510,18 +510,18 @@ void OPreparedStatement::scanParameter(OSQLParseNode* pParseNode,::std::vector<
{
OSL_ENSURE(pParseNode != NULL,"OResultSet: interner Fehler: ungueltiger ParseNode");
- // Parameter Name-Regel gefunden?
+ // Parameter Name-Row found?
if (SQL_ISRULE(pParseNode,parameter))
{
OSL_ENSURE(pParseNode->count() >= 1,"OResultSet: Parse Tree fehlerhaft");
OSL_ENSURE(pParseNode->getChild(0)->getNodeType() == SQL_NODE_PUNCTUATION,"OResultSet: Parse Tree fehlerhaft");
_rParaNodes.push_back(pParseNode);
- // Weiterer Abstieg nicht erforderlich
+ // further search isn't necessary
return;
}
- // Weiter absteigen im Parse Tree
+ // Search on in Parse Tree
for (sal_uInt32 i = 0; i < pParseNode->count(); i++)
scanParameter(pParseNode->getChild(i),_rParaNodes);
}
diff --git a/connectivity/source/drivers/mozab/MResultSet.cxx b/connectivity/source/drivers/mozab/MResultSet.cxx
index 5ed1f0d..4552b9d 100755
--- a/connectivity/source/drivers/mozab/MResultSet.cxx
+++ b/connectivity/source/drivers/mozab/MResultSet.cxx
@@ -1263,8 +1263,7 @@ void SAL_CALL OResultSet::executeQuery() throw( ::com::sun::star::sdbc::SQLExcep
eKeyType[i] = SQL_ORDERBYKEY_DOUBLE;
break;
- // Andere Typen sind nicht implementiert (und damit immer
- // FALSE)
+ // Other types aren't implemented (so they are always FALSE)
default:
eKeyType[i] = SQL_ORDERBYKEY_NONE;
OSL_FAIL("MResultSet::executeQuery: Order By Data Type not implemented");
diff --git a/connectivity/source/drivers/mozab/MStatement.hxx b/connectivity/source/drivers/mozab/MStatement.hxx
index de1a75d..029615b 100755
--- a/connectivity/source/drivers/mozab/MStatement.hxx
+++ b/connectivity/source/drivers/mozab/MStatement.hxx
@@ -199,7 +199,7 @@ namespace connectivity
protected:
~OStatement(){}
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a constructor, for when the object needs to be returned:
OStatement( OConnection* _pConnection) : OCommonStatement( _pConnection){}
DECLARE_SERVICE_INFO();
diff --git a/connectivity/source/drivers/odbc/OFunctions.cxx b/connectivity/source/drivers/odbc/OFunctions.cxx
index e81bdd9..bc7f21f 100755
--- a/connectivity/source/drivers/odbc/OFunctions.cxx
+++ b/connectivity/source/drivers/odbc/OFunctions.cxx
@@ -101,8 +101,8 @@ T3SQLNativeSql pODBC3SQLNativeSql;
sal_Bool LoadFunctions(oslModule pODBCso);
// -------------------------------------------------------------------------
-// Dynamisches Laden der DLL/shared lib und Adressen der Funktionen besorgen:
-// Liefert sal_True bei Erfolg.
+// Take care of Dynamicly loading of the DLL/shared lib and Addresses:
+// Returns sal_True at success
sal_Bool LoadLibrary_ODBC3(::rtl::OUString &_rPath)
{
static sal_Bool bLoaded = sal_False;
diff --git a/connectivity/source/drivers/odbc/ORealDriver.cxx b/connectivity/source/drivers/odbc/ORealDriver.cxx
index a622a09..12b3b42 100755
--- a/connectivity/source/drivers/odbc/ORealDriver.cxx
+++ b/connectivity/source/drivers/odbc/ORealDriver.cxx
@@ -341,20 +341,20 @@ oslGenericFunction ORealObdcDriver::getOdbcFunction(sal_Int32 _nIndex) const
return *(new ORealObdcDriver(_rxFactory));
}
// -----------------------------------------------------------------------------
-// ODBC Environment (gemeinsam fuer alle Connections):
+// ODBC Environment (common for all Connections):
SQLHANDLE ORealObdcDriver::EnvironmentHandle(::rtl::OUString &_rPath)
{
- // Ist (fuer diese Instanz) bereits ein Environment erzeugt worden?
+ // Is (for this instance) already a Enviroment made?
if (!m_pDriverHandle)
{
SQLHANDLE h = SQL_NULL_HANDLE;
- // Environment allozieren
+ // allocate Environment
- // ODBC-DLL jetzt laden:
+ // load ODBC-DLL now:
if (!LoadLibrary_ODBC3(_rPath) || N3SQLAllocHandle(SQL_HANDLE_ENV,SQL_NULL_HANDLE,&h) != SQL_SUCCESS)
return SQL_NULL_HANDLE;
- // In globaler Struktur merken ...
+ // Save in global Structure
m_pDriverHandle = h;
SQLRETURN nError = N3SQLSetEnvAttr(h, SQL_ATTR_ODBC_VERSION,(SQLPOINTER) SQL_OV_ODBC3, SQL_IS_UINTEGER);
OSL_UNUSED( nError );
diff --git a/connectivity/source/drivers/odbcbase/OTools.cxx b/connectivity/source/drivers/odbcbase/OTools.cxx
index ef8a8c9..bd247be 100755
--- a/connectivity/source/drivers/odbcbase/OTools.cxx
+++ b/connectivity/source/drivers/odbcbase/OTools.cxx
@@ -141,7 +141,7 @@ void OTools::bindData( SQLSMALLINT _nOdbcType,
_nColumnSize = sStr.getLength();
*((rtl::OUString*)_pData) = sStr;
- // Zeiger auf Char*
+ // Pointer on Char*
_pData = (sal_Int8*)((rtl::OUString*)_pData)->getStr();
}
else
@@ -167,7 +167,7 @@ void OTools::bindData( SQLSMALLINT _nOdbcType,
_nColumnSize = aString.getLength();
*pLen = _nColumnSize;
*((rtl::OUString*)_pData) = aString;
- // Zeiger auf Char*
+ // Pointer on Char*
_pData = (sal_Int8*)((rtl::OUString*)_pData)->getStr();
}
else
@@ -300,7 +300,7 @@ void OTools::bindValue( OConnection* _pConnection,
// *pLen = SQL_NTS;
// *((rtl::OUString*)pData) = (rtl::OUString)_aValue;
//
-// // Zeiger auf Char*
+// // Pointer on Char*
// pData = (void*)((rtl::OUString*)pData)->getStr();
// }
// else
@@ -310,7 +310,7 @@ void OTools::bindValue( OConnection* _pConnection,
*((::rtl::OString*)_pData) = aString;
_nMaxLen = (SQLSMALLINT)aString.getLength();
- // Zeiger auf Char*
+ // Pointer on Char*
_pData = (void*)aString.getStr();
} break;
case SQL_BIGINT:
@@ -324,7 +324,7 @@ void OTools::bindValue( OConnection* _pConnection,
// rtl::OUString aString(rtl::OUString(SdbTools::ToString(ODbTypeConversion::toDouble(*pVariable),rCol.GetScale())));
// *pLen = _nMaxLen;
// *((rtl::OUString*)_pData) = aString;
-// // Zeiger auf Char*
+// // Pointer on Char*
// _pData = (void*)((rtl::OUString*)_pData)->getStr();
// }
// else
@@ -333,7 +333,7 @@ void OTools::bindValue( OConnection* _pConnection,
_nMaxLen = (SQLSMALLINT)aString.getLength();
*pLen = _nMaxLen;
*((::rtl::OString*)_pData) = aString;
- // Zeiger auf Char*
+ // Pointer on Char*
_pData = (void*)((::rtl::OString*)_pData)->getStr();
} break;
case SQL_BIT:
@@ -437,9 +437,8 @@ void OTools::ThrowException(OConnection* _pConnection,
throw SQLException();
}
-
- // Zusaetliche Informationen zum letzten ODBC-Funktionsaufruf vorhanden.
- // SQLError liefert diese Informationen.
+ // Additional Information on the latest ODBC-functioncall available
+ // SQLError provides this Information.
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "odbc", "Ocke.Janssen at sun.com", "OTools::ThrowException" );
SDB_ODBC_CHAR szSqlState[5];
@@ -448,12 +447,12 @@ void OTools::ThrowException(OConnection* _pConnection,
szErrorMessage[0] = '\0';
SQLSMALLINT pcbErrorMsg = 0;
- // Informationen zur letzten Operation:
- // wenn hstmt != SQL_NULL_HSTMT ist (Benutzung von SetStatus in SdbCursor, SdbTable, ...),
- // dann wird der Status des letzten Statements erfragt, sonst der Status des letzten
- // Statements zu dieser Verbindung [was in unserem Fall wahrscheinlich gleichbedeutend ist,
- // aber das Reference Manual drueckt sich da nicht so klar aus ...].
- // Entsprechend bei hdbc.
+ // Information for latest operation:
+ // when hstmt != SQL_NULL_HSTMT is (Used from SetStatus in SdbCursor, SdbTable, ...),
+ // then the status of the latest statments will be fetched, without the Status of the last
+ // Statments of this connection [what in this case will probably be the same, but the Reference
+ // Manual isn't totally clear in this...].
+ // corresponding for hdbc.
SQLRETURN n = (*(T3SQLGetDiagRec)_pConnection->getOdbcFunction(ODBC3SQLGetDiagRec))(_nHandleType,_pContext,1,
szSqlState,
&pfNativeError,
@@ -462,7 +461,7 @@ void OTools::ThrowException(OConnection* _pConnection,
OSL_ENSURE(n != SQL_INVALID_HANDLE,"SdbODBC3_SetStatus: SQLError returned SQL_INVALID_HANDLE");
OSL_ENSURE(n == SQL_SUCCESS || n == SQL_SUCCESS_WITH_INFO || n == SQL_NO_DATA_FOUND || n == SQL_ERROR,"SdbODBC3_SetStatus: SQLError failed");
- // Zum Return Code von SQLError siehe ODBC 2.0 Programmer's Reference Seite 287ff
+ // For the Return Code of SQLError see ODBC 2.0 Programmer's Reference Page 287ff
throw SQLException( ::rtl::OUString((char *)szErrorMessage,pcbErrorMsg,_nTextEncoding),
_xInterface,
::rtl::OUString((char *)szSqlState,5,_nTextEncoding),
@@ -481,8 +480,7 @@ Sequence<sal_Int8> OTools::getBytesValue(OConnection* _pConnection,
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "odbc", "Ocke.Janssen at sun.com", "OTools::getBytesValue" );
char aCharArray[2048];
- // Erstmal versuchen, die Daten mit dem kleinen Puffer
- // abzuholen:
+ // First try to fetch the data with the little Buffer:
SQLLEN nMaxLen = sizeof aCharArray - 1;
// GETDATA(SQL_C_CHAR,aCharArray,nMaxLen);
SQLLEN pcbValue = 0;
@@ -503,22 +501,19 @@ Sequence<sal_Int8> OTools::getBytesValue(OConnection* _pConnection,
--nBytes;
Sequence<sal_Int8> aData((sal_Int8*)aCharArray, nBytes);
-
- // Es handelt sich um Binaerdaten, um einen String, der fuer
- // StarView zu lang ist oder der Treiber kann die Laenge der
- // Daten nicht im voraus bestimmen - also als MemoryStream
- // speichern.
+ // It is about Binariy Data, a String, that for StarView is to long or
+ // the driver kan't predict the length of the data - as well as save the
+ // MemoryStream.
while ((pcbValue == SQL_NO_TOTAL) || pcbValue > nMaxLen)
{
- // Bei Strings wird der Puffer nie ganz ausgenutzt
- // (das letzte Byte ist immer ein NULL-Byte, das
- // aber bei pcbValue nicht mitgezaehlt wird)
+ // At Strings the Buffer won't be completly used
+ // (The last Byte is always a NULL-Byte, however it won't be counted with pcbValue)
if (pcbValue != SQL_NO_TOTAL && (pcbValue - nMaxLen) < nMaxLen)
nBytes = pcbValue - nMaxLen;
else
nBytes = nMaxLen;
- // Solange eine "truncation"-Warnung vorliegt, weiter Daten abholen
+ // While there is a "truncation"-Warning, proceed with fetching Data.
// GETDATA(SQL_C_CHAR,aCharArray, nLen + 1);
OTools::ThrowException(_pConnection,(*(T3SQLGetData)_pConnection->getOdbcFunction(ODBC3SQLGetData))(_aStatementHandle,
(SQLUSMALLINT)columnIndex,
@@ -566,8 +561,8 @@ Sequence<sal_Int8> OTools::getBytesValue(OConnection* _pConnection,
_bWasNull = pcbValue == SQL_NULL_DATA;
if(_bWasNull)
return ::rtl::OUString();
- // Bei Fehler bricht der GETDATA-Makro mit return ab,
- // bei NULL mit break!
+ // at failure the GETDATA-Makro will stop with returning,
+ // at NULL with break!
SQLLEN nRealSize = 0;
if ( pcbValue > -1 )
nRealSize = pcbValue / sizeof(sal_Unicode);
@@ -575,21 +570,19 @@ Sequence<sal_Int8> OTools::getBytesValue(OConnection* _pConnection,
waCharArray[nLen] = 0;
aData.append(waCharArray,nLen);
- // Es handelt sich um Binaerdaten, um einen String, der fuer
- // StarView zu lang ist oder der Treiber kann die Laenge der
- // Daten nicht im voraus bestimmen - also als MemoryStream
- // speichern.
+ // It is about Binariy Data, a String, that for StarView is to long or
+ // the driver kan't predict the length of the data - as well as save the
+ // MemoryStream.
while ((pcbValue == SQL_NO_TOTAL ) || nLen > nMaxLen)
{
- // Bei Strings wird der Puffer nie ganz ausgenutzt
- // (das letzte Byte ist immer ein NULL-Byte, das
- // aber bei pcbValue nicht mitgezaehlt wird)
+ // At Strings the Buffer won't be completly used
+ // (The last Byte is always a NULL-Byte, however it won't be counted with pcbValue)
if (pcbValue != SQL_NO_TOTAL && (pcbValue - nMaxLen) < nMaxLen)
nLen = pcbValue - nMaxLen;
else
nLen = nMaxLen;
- // Solange eine "truncation"-Warnung vorliegt, weiter Daten abholen
+ // While there is a "truncation"-Warning, proceed with fetching Data.
// GETDATA(SQL_C_CHAR,waCharArray, nLen + 1);
OTools::ThrowException(_pConnection,(*(T3SQLGetData)_pConnection->getOdbcFunction(ODBC3SQLGetData))(_aStatementHandle,
(SQLUSMALLINT)columnIndex,
@@ -611,8 +604,7 @@ Sequence<sal_Int8> OTools::getBytesValue(OConnection* _pConnection,
default:
{
char aCharArray[2048];
- // Erstmal versuchen, die Daten mit dem kleinen Puffer
- // abzuholen:
+ // First try to fetch the data with the little Buffer:
SQLLEN nMaxLen = sizeof aCharArray - 1;
// GETDATA(SQL_C_CHAR,aCharArray,nMaxLen);
SQLLEN pcbValue = 0;
@@ -633,13 +625,12 @@ Sequence<sal_Int8> OTools::getBytesValue(OConnection* _pConnection,
--nLen;
aData.append(::rtl::OUString((const sal_Char*)aCharArray,nLen, _nTextEncoding));
- // Es handelt sich um Binaerdaten, um einen String, der fuer
- // StarView zu lang ist oder der Treiber kann die Laenge der
- // Daten nicht im voraus bestimmen - also als MemoryStream
- // speichern.
+ // It is about Binariy Data, a String, that for StarView is to long or
+ // the driver kan't predict the length of the data - as well as save the
+ // MemoryStream.
while ((pcbValue == SQL_NO_TOTAL) || pcbValue > nMaxLen)
{
- // Solange eine "truncation"-Warnung vorliegt, weiter Daten abholen
+ // While there is a "truncation"-Warning, proceed with fetching Data.
// GETDATA(SQL_C_CHAR,aCharArray, nLen + 1);
OTools::ThrowException(_pConnection,(*(T3SQLGetData)_pConnection->getOdbcFunction(ODBC3SQLGetData))(_aStatementHandle,
(SQLUSMALLINT)columnIndex,
diff --git a/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx
index 06be3a5..90e48ef 100755
--- a/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx
+++ b/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx
@@ -56,6 +56,7 @@ namespace connectivity
protected:
virtual ~ODatabaseMetaDataResultSetMetaData();
public:
+ // a Constructor, that is needed for when Returning the Object is needed:
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
ODatabaseMetaDataResultSetMetaData( )
: m_nColCount(0)
diff --git a/connectivity/source/inc/adabas/BResultSetMetaData.hxx b/connectivity/source/inc/adabas/BResultSetMetaData.hxx
index 16a4cde..8b46754 100755
--- a/connectivity/source/inc/adabas/BResultSetMetaData.hxx
+++ b/connectivity/source/inc/adabas/BResultSetMetaData.hxx
@@ -44,7 +44,7 @@ namespace connectivity
{
::rtl::Reference<OSQLColumns> m_aSelectColumns;
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OAdabasResultSetMetaData(odbc::OConnection* _pConnection, SQLHANDLE _pStmt ,const ::rtl::Reference<OSQLColumns>& _rSelectColumns);
virtual ~OAdabasResultSetMetaData();
diff --git a/connectivity/source/inc/ado/ACallableStatement.hxx b/connectivity/source/inc/ado/ACallableStatement.hxx
index 25e41f4..350695e 100755
--- a/connectivity/source/inc/ado/ACallableStatement.hxx
+++ b/connectivity/source/inc/ado/ACallableStatement.hxx
@@ -50,7 +50,7 @@ namespace connectivity
public:
DECLARE_SERVICE_INFO();
virtual ~OCallableStatement() {} ;
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OCallableStatement( OConnection* _pConnection,const OTypeInfoMap& _TypeInfo,const ::rtl::OUString& sql );
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
index fd0d477..5eadfd8 100755
--- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx
@@ -122,7 +122,7 @@ namespace connectivity
sal_Int32 nHandle
) const;
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
ODatabaseMetaDataResultSet( ADORecordset* _pRecordSet);
~ODatabaseMetaDataResultSet();
diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
index 0f43f47..ef4e65f 100755
--- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSetMetaData.hxx
@@ -74,7 +74,7 @@ namespace connectivity
void setTypeInfoMap();
void setProceduresMap();
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
ODatabaseMetaDataResultSetMetaData( ADORecordset* _pRecordSet ,ODatabaseMetaDataResultSet* _pRes)
: m_pRecordSet(_pRecordSet),m_vMapping(_pRes->getColumnMapping()),
m_nColCount(m_vMapping.size()-1)
diff --git a/connectivity/source/inc/ado/APreparedStatement.hxx b/connectivity/source/inc/ado/APreparedStatement.hxx
index b1f9e54..fbe70b9 100755
--- a/connectivity/source/inc/ado/APreparedStatement.hxx
+++ b/connectivity/source/inc/ado/APreparedStatement.hxx
@@ -68,7 +68,7 @@ namespace connectivity
public:
DECLARE_SERVICE_INFO();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OPreparedStatement( OConnection* _pConnection,const OTypeInfoMap& _TypeInfo,const ::rtl::OUString& sql);
virtual void SAL_CALL acquire() throw();
diff --git a/connectivity/source/inc/ado/AResultSet.hxx b/connectivity/source/inc/ado/AResultSet.hxx
index b71730a..de5ee8e 100755
--- a/connectivity/source/inc/ado/AResultSet.hxx
+++ b/connectivity/source/inc/ado/AResultSet.hxx
@@ -118,7 +118,7 @@ namespace connectivity
) const;
virtual ~OResultSet();
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OResultSet( ADORecordset* _pRecordSet,OStatement_Base* pStmt);
OResultSet( ADORecordset* _pRecordSet);
diff --git a/connectivity/source/inc/ado/AResultSetMetaData.hxx b/connectivity/source/inc/ado/AResultSetMetaData.hxx
index 16c118a..f0ea845 100755
--- a/connectivity/source/inc/ado/AResultSetMetaData.hxx
+++ b/connectivity/source/inc/ado/AResultSetMetaData.hxx
@@ -63,7 +63,7 @@ namespace connectivity
protected:
virtual ~OResultSetMetaData();
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OResultSetMetaData( ADORecordset* _pRecordSet);
virtual sal_Int32 SAL_CALL getColumnCount( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
diff --git a/connectivity/source/inc/ado/AStatement.hxx b/connectivity/source/inc/ado/AStatement.hxx
index 91f873b..44bdf29 100755
--- a/connectivity/source/inc/ado/AStatement.hxx
+++ b/connectivity/source/inc/ado/AStatement.hxx
@@ -182,7 +182,7 @@ namespace connectivity
public ::com::sun::star::lang::XServiceInfo
{
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OStatement( OConnection* _pConnection) : OStatement_Base( _pConnection){};
~OStatement();
diff --git a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx b/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx
index 12fc3eb..b7e76b3 100755
--- a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/dbase/DDatabaseMetaDataResultSet.hxx
@@ -100,7 +100,7 @@ namespace connectivity
virtual ~ODatabaseMetaDataResultSet();
public:
DECLARE_CTY_DEFAULTS(ODatabaseMetaDataResultSet_BASE);
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
ODatabaseMetaDataResultSet( );
diff --git a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx
index 3a8adf9..fb990b1 100755
--- a/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx
+++ b/connectivity/source/inc/dbase/DDatabaseMetaDataResultSetMetaData.hxx
@@ -69,7 +69,7 @@ namespace connectivity
void setProceduresMap();
void setTableTypes();
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
ODatabaseMetaDataResultSetMetaData( ODatabaseMetaDataResultSet* _pRes)
: m_nColCount(0)
{
diff --git a/connectivity/source/inc/file/FPreparedStatement.hxx b/connectivity/source/inc/file/FPreparedStatement.hxx
index b85f23f..bdbed49 100755
--- a/connectivity/source/inc/file/FPreparedStatement.hxx
+++ b/connectivity/source/inc/file/FPreparedStatement.hxx
@@ -80,7 +80,7 @@ namespace connectivity
virtual ~OPreparedStatement();
public:
DECLARE_SERVICE_INFO();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OPreparedStatement( OConnection* _pConnection);
virtual void construct(const ::rtl::OUString& sql) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx
index 4fe8149..b4fca35 100755
--- a/connectivity/source/inc/file/FResultSet.hxx
+++ b/connectivity/source/inc/file/FResultSet.hxx
@@ -183,7 +183,7 @@ namespace connectivity
virtual ~OResultSet();
public:
DECLARE_SERVICE_INFO();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OResultSet( OStatement_Base* pStmt,connectivity::OSQLParseTreeIterator& _aSQLIterator);
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > operator *()
diff --git a/connectivity/source/inc/file/FResultSetMetaData.hxx b/connectivity/source/inc/file/FResultSetMetaData.hxx
index 35dfde4..0ec97d7 100755
--- a/connectivity/source/inc/file/FResultSetMetaData.hxx
+++ b/connectivity/source/inc/file/FResultSetMetaData.hxx
@@ -56,7 +56,7 @@ namespace connectivity
protected:
virtual ~OResultSetMetaData();
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OResultSetMetaData(const ::rtl::Reference<connectivity::OSQLColumns>& _rxColumns,const ::rtl::OUString& _aTableName,OFileTable* _pTable);
/// Avoid ambigous cast error from the compiler.
diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx
index b4f3e71..3c300f0 100755
--- a/connectivity/source/inc/file/FStatement.hxx
+++ b/connectivity/source/inc/file/FStatement.hxx
@@ -204,7 +204,7 @@ namespace connectivity
// factory method for resultset's
virtual OResultSet* createResultSet();
public:
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
OStatement( OConnection* _pConnection) : OStatement_BASE2( _pConnection){}
DECLARE_SERVICE_INFO();
diff --git a/connectivity/source/inc/java/io/InputStream.hxx b/connectivity/source/inc/java/io/InputStream.hxx
index 5fdb5a5..d813e7c 100755
--- a/connectivity/source/inc/java/io/InputStream.hxx
+++ b/connectivity/source/inc/java/io/InputStream.hxx
@@ -34,7 +34,7 @@
namespace connectivity
{
-
+
//**************************************************************
//************ Class: java.io.InputStream
//**************************************************************
@@ -42,12 +42,12 @@ namespace connectivity
public ::cppu::WeakImplHelper1< ::com::sun::star::io::XInputStream>
{
protected:
- // statische Daten fuer die Klasse
+ // statische Data for the class
static jclass theClass;
virtual ~java_io_InputStream();
public:
- virtual jclass getMyClass() const;
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ virtual jclass getMyClass() const;
+ // a Constructor, that is needed for when Returning the Object is needed:
java_io_InputStream( JNIEnv * pEnv, jobject myObj );
// XInputStream
virtual sal_Int32 SAL_CALL readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
diff --git a/connectivity/source/inc/java/io/Reader.hxx b/connectivity/source/inc/java/io/Reader.hxx
index 74235ff..9afaa70 100755
--- a/connectivity/source/inc/java/io/Reader.hxx
+++ b/connectivity/source/inc/java/io/Reader.hxx
@@ -42,13 +42,12 @@ namespace connectivity
public ::cppu::WeakImplHelper1< ::com::sun::star::io::XInputStream>
{
protected:
- // statische Daten fuer die Klasse
+ // static Data for the Class
static jclass theClass;
virtual ~java_io_Reader();
public:
virtual jclass getMyClass() const;
-
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_io_Reader( JNIEnv * pEnv, jobject myObj );
// XInputStream
virtual sal_Int32 SAL_CALL readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
diff --git a/connectivity/source/inc/java/lang/Boolean.hxx b/connectivity/source/inc/java/lang/Boolean.hxx
index 4c036bd..9b7adff 100755
--- a/connectivity/source/inc/java/lang/Boolean.hxx
+++ b/connectivity/source/inc/java/lang/Boolean.hxx
@@ -37,12 +37,12 @@ namespace connectivity
class java_lang_Boolean : public java_lang_Object
{
protected:
- // statische Daten fuer die Klasse
+ // static Data for the class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_Boolean();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_Boolean( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
static jclass st_getMyClass();
diff --git a/connectivity/source/inc/java/lang/Class.hxx b/connectivity/source/inc/java/lang/Class.hxx
index b0ce998..3c4f3c0 100755
--- a/connectivity/source/inc/java/lang/Class.hxx
+++ b/connectivity/source/inc/java/lang/Class.hxx
@@ -37,18 +37,18 @@ namespace connectivity
class java_lang_Class : public java_lang_Object
{
protected:
- // statische Daten fuer die Klasse
+ // static Data for the Class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_Class();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_Class( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
static java_lang_Class * forName( const ::rtl::OUString &_par0 );
// return the jre object
jobject newInstanceObject();
-
+
};
}
diff --git a/connectivity/source/inc/java/lang/Exception.hxx b/connectivity/source/inc/java/lang/Exception.hxx
index 2eb76b5..37a0b2c 100755
--- a/connectivity/source/inc/java/lang/Exception.hxx
+++ b/connectivity/source/inc/java/lang/Exception.hxx
@@ -38,12 +38,12 @@ namespace connectivity
//**************************************************************
class java_lang_Exception : public java_lang_Throwable{
protected:
- // statische Daten fuer die Klasse
+ // statis Data for the class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_Exception();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_Exception( JNIEnv * pEnv, jobject myObj ) : java_lang_Throwable( pEnv, myObj ){}
};
diff --git a/connectivity/source/inc/java/lang/String.hxx b/connectivity/source/inc/java/lang/String.hxx
index f39664e..61be669 100755
--- a/connectivity/source/inc/java/lang/String.hxx
+++ b/connectivity/source/inc/java/lang/String.hxx
@@ -35,12 +35,12 @@ namespace connectivity
class java_lang_String : public java_lang_Object
{
protected:
- // statische Daten fuer die Klasse
+ // statis Data for the Class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_String();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_String( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
operator ::rtl::OUString();
diff --git a/connectivity/source/inc/java/lang/Throwable.hxx b/connectivity/source/inc/java/lang/Throwable.hxx
index 9915adb..3d837eb 100755
--- a/connectivity/source/inc/java/lang/Throwable.hxx
+++ b/connectivity/source/inc/java/lang/Throwable.hxx
@@ -38,12 +38,12 @@ namespace connectivity
class java_lang_Throwable : public java_lang_Object
{
protected:
- // statische Daten fuer die Klasse
+ // static Data for the class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_Throwable();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_Throwable( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
::rtl::OUString getMessage() const;
::rtl::OUString getLocalizedMessage() const;
diff --git a/connectivity/source/inc/java/math/BigDecimal.hxx b/connectivity/source/inc/java/math/BigDecimal.hxx
index 39f02ec..49a47b4 100755
--- a/connectivity/source/inc/java/math/BigDecimal.hxx
+++ b/connectivity/source/inc/java/math/BigDecimal.hxx
@@ -36,12 +36,12 @@ namespace connectivity
{
class java_math_BigDecimal : public java_lang_Object
{
- // statische Daten fuer die Klasse
+ // static Data for the class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_math_BigDecimal();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_math_BigDecimal( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
java_math_BigDecimal( const ::rtl::OUString& _par0 );
--
1.7.0.4
--------------060806030003080405080800--
More information about the LibreOffice
mailing list