diff options
author | Rob Snelders <programming@ertai.nl> | 2011-03-23 23:16:24 +0100 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-03-24 06:55:10 +0100 |
commit | f9079cc224f0a745e21ca72c6b23b2f873cd9004 (patch) | |
tree | fcc6297ccbd8a02f0797449c45ae84e9aee0c384 /connectivity/source | |
parent | 787b86549305cf0e5fdea28581b1a40f8ed3ef3d (diff) |
translated comments
Diffstat (limited to 'connectivity/source')
37 files changed, 110 insertions, 120 deletions
diff --git a/connectivity/source/drivers/dbase/dindexnode.cxx b/connectivity/source/drivers/dbase/dindexnode.cxx index 53a384ad6853..590eb5b46fae 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 3d64d67630e8..98e8bdf096b3 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@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 6df28a63b63b..cf08f5c42ce5 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 85be40a6c342..6a5e459f76c8 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 18af00d67171..a62454e3b601 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 40713ed10beb..6949a9748fb3 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 b45e44ed4d9d..d8e9fe633ce7 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 ae5672b3406f..2faf420524ad 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 f8d417bf60da..575a6705538d 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 5721232a8abb..5506c9306e32 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 41775540713c..d58cdfe747f3 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 eed70634fe70..602ce5e935c9 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 c786df3e9b89..99b6dc4978d6 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 d9eb8647d485..52f7978160fb 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@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@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 6f2a318e6e1c..75940176edb1 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 3fe11e02743d..bf7e8f34539b 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 00398698ea13..97a0795e1bfb 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 4ac87c6ff7aa..fd968097211b 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 fadbde55724e..e764554b0c6c 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 585c9ff20a02..62672f3060e8 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 29dc7b7a4bbc..89a7cc1386b3 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 535e333f5c25..a8241c2d99b4 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 baaa21ec5e78..03eb3fbcb9e6 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 2d24d0f7585e..7fc2b70d593b 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 114aa25545fb..57d338abc124 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 08125b1b9d8d..534ae95db9ed 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 11c7c124dfa3..27e2ce17b548 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 e4824f5044e3..9395e0c4d043 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 de7807079ab7..ba1dc8311920 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 20837abf136d..889408f7c40d 100755 --- a/connectivity/source/inc/java/io/InputStream.hxx +++ b/connectivity/source/inc/java/io/InputStream.hxx @@ -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: + // 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 0e0a3e3e8f59..4d308e28521f 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 68b6d9adfe0f..6dc1e7f12d65 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 69af774a380d..1be4eb0ebf03 100755 --- a/connectivity/source/inc/java/lang/Class.hxx +++ b/connectivity/source/inc/java/lang/Class.hxx @@ -37,12 +37,12 @@ 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 ); diff --git a/connectivity/source/inc/java/lang/Exception.hxx b/connectivity/source/inc/java/lang/Exception.hxx index 5e4111a54c6e..340ca00d43ac 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 273109fd67f0..49a6ea4407a4 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 09b047ddf1ba..b9914b71fa44 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 86cd9d57f9bd..ee27b6703e80 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 ); |