[Libreoffice-commits] .: connectivity/source

Philipp Weissenbacher p.weissenbacher at kemper.freedesktop.org
Wed Feb 29 17:34:15 PST 2012


 connectivity/source/inc/OTypeInfo.hxx                   |   28 ++++-----
 connectivity/source/inc/ado/Aolewrap.hxx                |   45 +++++++---------
 connectivity/source/inc/ado/Awrapado.hxx                |   31 +++++------
 connectivity/source/inc/ado/adoimp.hxx                  |    2 
 connectivity/source/inc/java/lang/Object.hxx            |   19 +++---
 connectivity/source/inc/java/sql/Array.hxx              |    4 -
 connectivity/source/inc/java/sql/Blob.hxx               |    4 -
 connectivity/source/inc/java/sql/CallableStatement.hxx  |    4 -
 connectivity/source/inc/java/sql/Clob.hxx               |    4 -
 connectivity/source/inc/java/sql/Connection.hxx         |    4 -
 connectivity/source/inc/java/sql/DatabaseMetaData.hxx   |    4 -
 connectivity/source/inc/java/sql/DriverPropertyInfo.hxx |    4 -
 connectivity/source/inc/java/sql/JStatement.hxx         |    8 +-
 connectivity/source/inc/java/sql/PreparedStatement.hxx  |    4 -
 connectivity/source/inc/java/sql/Ref.hxx                |    4 -
 connectivity/source/inc/java/sql/ResultSet.hxx          |    4 -
 connectivity/source/inc/java/sql/ResultSetMetaData.hxx  |    4 -
 connectivity/source/inc/java/sql/SQLException.hxx       |    6 +-
 connectivity/source/inc/java/sql/SQLWarning.hxx         |    4 -
 connectivity/source/inc/java/sql/Timestamp.hxx          |    6 +-
 connectivity/source/inc/java/util/Date.hxx              |    4 -
 connectivity/source/inc/java/util/Property.hxx          |    4 -
 22 files changed, 98 insertions(+), 103 deletions(-)

New commits:
commit e5f5ab57a124ffaf5e26e90af5aa546ad8451d4d
Author: Philipp Weissenbacher <p.weissenbacher at gmail.com>
Date:   Thu Mar 1 02:27:38 2012 +0100

    Translate German comments, fix some whitespace

diff --git a/connectivity/source/inc/OTypeInfo.hxx b/connectivity/source/inc/OTypeInfo.hxx
index 825bf4e..42fda5f 100644
--- a/connectivity/source/inc/OTypeInfo.hxx
+++ b/connectivity/source/inc/OTypeInfo.hxx
@@ -37,26 +37,26 @@ namespace connectivity
 {
     struct OTypeInfo
     {
-        ::rtl::OUString aTypeName;      // Name des Types in der Datenbank
-        ::rtl::OUString aLiteralPrefix; // Prefix zum Quoten
-        ::rtl::OUString aLiteralSuffix; // Suffix zum Quoten
-        ::rtl::OUString aCreateParams;  // Parameter zum Erstellen
+        ::rtl::OUString aTypeName;      // Name of the type in the database
+        ::rtl::OUString aLiteralPrefix; // Prefix for quoting
+        ::rtl::OUString aLiteralSuffix; // Suffix for quoting
+        ::rtl::OUString aCreateParams;  // Parameter for creating
         ::rtl::OUString aLocalTypeName;
 
-        sal_Int32       nPrecision;     // Laenge des Types
+        sal_Int32       nPrecision;     // Length of the type
 
-        sal_Int16       nMaximumScale;  // Nachkommastellen
-        sal_Int16       nMinimumScale;  // Min Nachkommastellen
+        sal_Int16       nMaximumScale;  // Decimal places
+        sal_Int16       nMinimumScale;  // Minimum decimal places
 
-        sal_Int16       nType;          // Datenbanktyp
-        sal_Int16       nSearchType;    // kann nach dem Typen gesucht werden
+        sal_Int16       nType;          // Database type
+        sal_Int16       nSearchType;    // Can we search for the type?
         sal_Int16       nNumPrecRadix;  // indicating the radix, which is usually 2 or 10
 
-        sal_Bool        bCurrency       : 1,    // Waehrung
-                        bAutoIncrement  : 1,    // Ist es ein automatisch incrementierendes Feld
-                        bNullable       : 1,    // Kann das Feld NULL annehmen
-                        bCaseSensitive  : 1,    // Ist der Type Casesensitive
-                        bUnsigned       : 1,    // Ist der Type Unsigned
+        sal_Bool        bCurrency       : 1,    // Currency
+                        bAutoIncrement  : 1,    // Is it an autoincrementing field?
+                        bNullable       : 1,    // Can the field be NULL?
+                        bCaseSensitive  : 1,    // Is the type case sensitive?
+                        bUnsigned       : 1,    // Is the type unsigned?
                         bEmpty_1        : 1,    // for later use
                         bEmpty_2        : 1;
 
diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx
index 51407bc..06bcadc 100644
--- a/connectivity/source/inc/ado/Aolewrap.hxx
+++ b/connectivity/source/inc/ado/Aolewrap.hxx
@@ -66,19 +66,17 @@ namespace connectivity
         };
         //////////////////////////////////////////////////////////////////////////
         //
-        // Template-Klasse WpOLEBase<class T>
+        // Template class WpOLEBase<class T>
         // ==================================
         //
-        // Objekte dieser Klasse haelt einen Zeiger auf ein Interface vom Typ T.
-        // Es gibt Konstruktoren und Zuweisungsoperator die sicherstellen, dass
-        // AddRef() und Release() entsprechend den COM-Konventionen gerufen werden.
-        // Ein Objekt kann auch keinen Zeiger halten (Nullzeiger), dann ergibt
-        // der Aufruf von IsValid() FALSE.
+        // Objects of this class contain a pointer to an interface of the type T.
+        // The ctors and operator= make sure, that AddRef() and Release() are being
+        // called adhering to COM conventions.
+        // An object can also hold no pointer (null pointer), calling IsValid() then
+        // returns false.
         //
-        // Um effizientes pass-by-value machen zu koennen, ist diese (ebenso wie die
-        // abgeleiteten Klassen) eine ganz schmale Wrapper-Klasse unter Vermeidung
-        // virtueller Methoden und mit Inlining.
-
+        // In order to do efficient pass-by-value, this class (as all derived classes)
+        // is a thin wrapper class, avoiding virtual methods and inlining.
         //------------------------------------------------------------------------
         template<class T> class WpOLEBase : public WpBase
         {
@@ -124,29 +122,28 @@ namespace connectivity
 
         //////////////////////////////////////////////////////////////////////////
         //
-        // Template-Klasse WpOLECollection<class Ts, class T, class WrapT>
+        // Template class WpOLECollection<class Ts, class T, class WrapT>
         // ===============================================================
         //
-        // Diese Klasse, welche sich von WpOLEBase<Ts> ableitet, abstrahiert die
-        // den DAO-Collections gemeinsamen Eigenschaften:
+        // This class (derived from WpOLEBase<Ts>), abstracts away the properties
+        // common to DAO collections:
         //
-        // Sie werden ueber ein Interface Ts (etwa: DAOFields) angesprochen
-        // und koennen ueber get_Item (hier:GetItem) Items des Typs T (genauer:
-        // mit Interface T, etwa DAOField) herausgeben.
+        // They are accessed via an interface Ts (e.g. DAOFields) and can return
+        // Items of the Type T (actually: with the interface T, e.g. DAOField)
+        // via get_Item (here GetItem).
         //
-        // Diese Wrapperklasse gibt aber nicht ein Interface T heraus,
-        // sondern ein Objekt der Klasse WrapT. Dieses muss eine Konstruktion
-        // durch T zulassen, vorzugsweise ist es von WpOLEBase<T> abgeleitet.
+        // This wrapper class does not expose an interface T, however,
+        // it exposes an object of the class WrapT. This must allow a construction
+        // by T, preferably it is derived from WpOLEBase<T>.
         //
-
         //------------------------------------------------------------------------
         template<class Ts, class T, class WrapT> class WpOLECollection : public WpOLEBase<Ts>
         {
         public:
             using WpOLEBase<Ts>::pInterface;
             using WpOLEBase<Ts>::IsValid;
-            // Konstruktoren, operator=
-            // diese rufen nur die Oberklasse
+            // Ctors, operator=
+            // They only call the superclass
             WpOLECollection(Ts* pInt=NULL):WpOLEBase<Ts>(pInt){}
             WpOLECollection(const WpOLECollection& rhs){operator=(rhs);}
             inline WpOLECollection& operator=(const WpOLECollection& rhs)
@@ -219,8 +216,8 @@ namespace connectivity
         {
 
         public:
-            // Konstruktoren, operator=
-            // diese rufen nur die Oberklasse
+            // Ctors, operator=
+            // They only call the superclass
             using WpOLEBase<Ts>::pInterface;
             WpOLEAppendCollection(Ts* pInt=NULL):WpOLECollection<Ts,T,WrapT>(pInt){}
             WpOLEAppendCollection(const WpOLEAppendCollection& rhs){ operator=(rhs); }
diff --git a/connectivity/source/inc/ado/Awrapado.hxx b/connectivity/source/inc/ado/Awrapado.hxx
index b34fec3..0cab36c 100644
--- a/connectivity/source/inc/ado/Awrapado.hxx
+++ b/connectivity/source/inc/ado/Awrapado.hxx
@@ -30,7 +30,7 @@
 
 #include <com/sun/star/beans/PropertyAttribute.hpp>
 
-// Includes fuer ADO
+// Includes for ADO
 #include "ado_pre_sys_include.h"
 #include <oledb.h>
 #include <ocidl.h>
@@ -152,8 +152,8 @@ namespace connectivity
         {
         public:
             WpADOCommand(){}
-            // Konstruktoren, operator=
-            // diese rufen nur die Oberklasse
+            // Ctors, operator=
+            // They only call the superclass
             WpADOCommand(ADOCommand* pInt)  :   WpOLEBase<ADOCommand>(pInt){}
 
             WpADOCommand(const WpADOCommand& rhs){operator=(rhs);}
@@ -181,7 +181,7 @@ namespace connectivity
              ADOParameters* get_Parameters() const;
              sal_Bool put_CommandType( /* [in] */ CommandTypeEnum lCmdType);
              CommandTypeEnum get_CommandType( ) const ;
-            // gibt den Namen des Feldes zur"ueck
+             // Returns the field's name
              ::rtl::OUString GetName() const ;
              sal_Bool put_Name(const ::rtl::OUString& _Name);
              sal_Bool Cancel();
@@ -191,9 +191,8 @@ namespace connectivity
         {
         public:
 
-            // Konstruktoren, operator=
-            // diese rufen nur die Oberklasse
-
+            // Ctors, operator=
+            // They only call the superclass
             WpADOError(ADOError* pInt):WpOLEBase<ADOError>(pInt){}
 
             WpADOError(const WpADOError& rhs){operator=(rhs);}
@@ -218,8 +217,8 @@ namespace connectivity
             //  friend class WpADOFields;
         public:
 
-            // Konstruktoren, operator=
-            // diese rufen nur die Oberklasse
+            // Ctors, operator=
+            // They only call the superclass
             WpADOField(ADOField* pInt=NULL):WpOLEBase<ADOField>(pInt){}
             WpADOField(const WpADOField& rhs){operator=(rhs);}
 
@@ -232,7 +231,7 @@ namespace connectivity
              sal_Int32 GetAttributes() const ;
              sal_Int32 GetStatus() const      ;
              sal_Int32 GetDefinedSize() const ;
-            // gibt den Namen des Feldes zur"ueck
+             // Returns the field's name
              ::rtl::OUString GetName() const ;
              DataTypeEnum GetADOType() const  ;
              void get_Value(OLEVariant& aValVar) const ;
@@ -266,8 +265,8 @@ namespace connectivity
         class WpADOProperty: public WpOLEBase<ADOProperty>
         {
         public:
-            // Konstruktoren, operator=
-            // diese rufen nur die Oberklasse
+            // Ctors, operator=
+            // They only call the superclass
             WpADOProperty(ADOProperty* pInt=NULL):WpOLEBase<ADOProperty>(pInt){}
             WpADOProperty(const WpADOProperty& rhs){operator=(rhs);}
              WpADOProperty& operator=(const WpADOProperty& rhs)
@@ -288,8 +287,8 @@ namespace connectivity
         {
 
         public:
-            // Konstruktoren, operator=
-            // diese rufen nur die Oberklasse
+            // Ctors, operator=
+            // They only call the superclass
             WpADORecordset(ADORecordset* pInt=NULL):WpOLEBase<ADORecordset>(pInt){}
             WpADORecordset(const WpADORecordset& rhs){operator=(rhs);}
              WpADORecordset& operator=(const WpADORecordset& rhs)
@@ -353,8 +352,8 @@ namespace connectivity
         class WpADOParameter:public WpOLEBase<ADOParameter>
         {
         public:
-            // Konstruktoren, operator=
-            // diese rufen nur die Oberklasse
+            // Ctors, operator=
+            // They only call the superclass
             WpADOParameter(ADOParameter* pInt):WpOLEBase<ADOParameter>(pInt){}
             WpADOParameter(const WpADOParameter& rhs):WpOLEBase<ADOParameter>(rhs){}
              WpADOParameter& operator=(const WpADOParameter& rhs)
diff --git a/connectivity/source/inc/ado/adoimp.hxx b/connectivity/source/inc/ado/adoimp.hxx
index eb07d02..f3056f3 100644
--- a/connectivity/source/inc/ado/adoimp.hxx
+++ b/connectivity/source/inc/ado/adoimp.hxx
@@ -46,7 +46,7 @@ namespace connectivity
         class ADOS
         {
         public:
-            // Auch hier: BSTR mit SysFreeString() freigeben!
+            // Also here: Free BSTR with SysFreeString()!
             static OLEString& GetKeyStr();
 
             static const CLSID  CLSID_ADOCATALOG_25;
diff --git a/connectivity/source/inc/java/lang/Object.hxx b/connectivity/source/inc/java/lang/Object.hxx
index 0178628..ef2c951 100644
--- a/connectivity/source/inc/java/lang/Object.hxx
+++ b/connectivity/source/inc/java/lang/Object.hxx
@@ -78,29 +78,28 @@ namespace connectivity
     class java_lang_Class;
     class  java_lang_Object
     {
-        // Zuweisungsoperator und Copy Konstruktor sind verboten
+        // operator= and the copy ctor are forbidden
         java_lang_Object& operator= (java_lang_Object&);
         java_lang_Object(java_lang_Object&);
 
-        // nur zum Zerstoeren des C++ Pointers in vom JSbxObject
-        // abgeleiteten Java Objekten
+        // Only to destroy the C++ pointer of Java objects derived from JSbxObject
         ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
 
     protected:
-        // der JAVA Handle zu dieser Klasse
+        // The Java handle to this class
         jobject object;
-        // Klassendefinition
 
-        // neu in SJ2:
-        static jclass theClass;             // die Klasse braucht nur einmal angefordert werden !
+        // Class definiton
+        // New in SJ2:
+        static jclass theClass; // The class needs to be requested only once!
 
         virtual jclass getMyClass() const;
 
     public:
-        // der Konstruktor, der fuer die abgeleiteten Klassen verwendet
-        // werden soll.
+        // Ctor that should be used for the derived classes
         java_lang_Object( JNIEnv * pEnv, jobject myObj );
-        // der eigentliche Konstruktor
+
+        // The actual ctor
         java_lang_Object(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory=NULL);
 
         virtual ~java_lang_Object();
diff --git a/connectivity/source/inc/java/sql/Array.hxx b/connectivity/source/inc/java/sql/Array.hxx
index ecfd947..23bdd62 100644
--- a/connectivity/source/inc/java/sql/Array.hxx
+++ b/connectivity/source/inc/java/sql/Array.hxx
@@ -42,12 +42,12 @@ namespace connectivity
                                                         public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XArray>
     {
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
     public:
         virtual jclass getMyClass() const;
         virtual ~java_sql_Array();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Array( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
 
         // XArray
diff --git a/connectivity/source/inc/java/sql/Blob.hxx b/connectivity/source/inc/java/sql/Blob.hxx
index da44418..e52857a 100644
--- a/connectivity/source/inc/java/sql/Blob.hxx
+++ b/connectivity/source/inc/java/sql/Blob.hxx
@@ -43,13 +43,13 @@ namespace connectivity
                             public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XBlob>
     {
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
         virtual ~java_sql_Blob();
     public:
         virtual jclass getMyClass() const;
 
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Blob( JNIEnv * pEnv, jobject myObj );
 
         // XBlob
diff --git a/connectivity/source/inc/java/sql/CallableStatement.hxx b/connectivity/source/inc/java/sql/CallableStatement.hxx
index 1269af2..a330cd5 100644
--- a/connectivity/source/inc/java/sql/CallableStatement.hxx
+++ b/connectivity/source/inc/java/sql/CallableStatement.hxx
@@ -44,7 +44,7 @@ namespace connectivity
                                                                                 public ::com::sun::star::sdbc::XOutParameters
     {
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
         virtual void createStatement(JNIEnv* _pEnv);
 
@@ -53,7 +53,7 @@ namespace connectivity
         DECLARE_SERVICE_INFO();
         virtual jclass getMyClass() const;
 
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_CallableStatement( JNIEnv * pEnv, java_sql_Connection& _rCon, 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/java/sql/Clob.hxx b/connectivity/source/inc/java/sql/Clob.hxx
index 1b861ee..0b35302 100644
--- a/connectivity/source/inc/java/sql/Clob.hxx
+++ b/connectivity/source/inc/java/sql/Clob.hxx
@@ -43,13 +43,13 @@ namespace connectivity
                             public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XClob>
     {
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
         virtual ~java_sql_Clob();
     public:
         virtual jclass getMyClass() const;
 
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Clob( JNIEnv * pEnv, jobject myObj );
 
         // XClob
diff --git a/connectivity/source/inc/java/sql/Connection.hxx b/connectivity/source/inc/java/sql/Connection.hxx
index 899e89b..bb2fd5f 100644
--- a/connectivity/source/inc/java/sql/Connection.hxx
+++ b/connectivity/source/inc/java/sql/Connection.hxx
@@ -85,7 +85,7 @@ namespace connectivity
         ::rtl::OUString impl_getJavaDriverClassPath_nothrow(const ::rtl::OUString& _sDriverClass);
 
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
 
         virtual ~java_sql_Connection();
@@ -94,7 +94,7 @@ namespace connectivity
         virtual jclass getMyClass() const;
 
         DECLARE_SERVICE_INFO();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Connection( const java_sql_Driver& _rDriver );
         sal_Bool construct( const ::rtl::OUString& url,
                         const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info);
diff --git a/connectivity/source/inc/java/sql/DatabaseMetaData.hxx b/connectivity/source/inc/java/sql/DatabaseMetaData.hxx
index 04e8534..c109975 100644
--- a/connectivity/source/inc/java/sql/DatabaseMetaData.hxx
+++ b/connectivity/source/inc/java/sql/DatabaseMetaData.hxx
@@ -46,13 +46,13 @@ namespace connectivity
         java_sql_Connection*        m_pConnection;
         java::sql::ConnectionLog    m_aLogger;
 
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
 
     public:
         virtual jclass getMyClass() const;
         virtual ~java_sql_DatabaseMetaData();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_DatabaseMetaData( JNIEnv * pEnv, jobject myObj, java_sql_Connection& _rConnection );
 
     private:
diff --git a/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx b/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx
index 3b54087..80ca315 100644
--- a/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx
+++ b/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx
@@ -41,12 +41,12 @@ namespace connectivity
     class java_sql_DriverPropertyInfo : 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_sql_DriverPropertyInfo();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_DriverPropertyInfo( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
                 operator ::com::sun::star::sdbc::DriverPropertyInfo();
 
diff --git a/connectivity/source/inc/java/sql/JStatement.hxx b/connectivity/source/inc/java/sql/JStatement.hxx
index f621f9c..b329897 100644
--- a/connectivity/source/inc/java/sql/JStatement.hxx
+++ b/connectivity/source/inc/java/sql/JStatement.hxx
@@ -100,7 +100,7 @@ namespace connectivity
         ::cppu::OBroadcastHelper&   rBHelper;
 
 
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
 
         // OPropertyArrayUsageHelper
@@ -135,7 +135,7 @@ namespace connectivity
     public:
         virtual jclass getMyClass() const;
 
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Statement_Base( JNIEnv * pEnv, java_sql_Connection& _rCon );
 
         sal_Int32   getStatementObjectID() const { return m_aLogger.getObjectID(); }
@@ -194,7 +194,7 @@ namespace connectivity
                                 public ::com::sun::star::lang::XServiceInfo
     {
     protected:
-        // statische Daten fuer die Klasse
+        // Static data for the class
         static jclass theClass;
 
         virtual void createStatement(JNIEnv* _pEnv);
@@ -204,7 +204,7 @@ namespace connectivity
         DECLARE_SERVICE_INFO();
         virtual jclass getMyClass() const;
 
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Statement( JNIEnv * pEnv, java_sql_Connection& _rCon ) : OStatement_BASE2( pEnv, _rCon){};
 
         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/java/sql/PreparedStatement.hxx b/connectivity/source/inc/java/sql/PreparedStatement.hxx
index 749b57a..b36d917 100644
--- a/connectivity/source/inc/java/sql/PreparedStatement.hxx
+++ b/connectivity/source/inc/java/sql/PreparedStatement.hxx
@@ -49,7 +49,7 @@ namespace connectivity
                                         public  ::com::sun::star::lang::XServiceInfo
     {
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
 
         virtual void createStatement(JNIEnv* _pEnv);
@@ -58,7 +58,7 @@ namespace connectivity
         DECLARE_SERVICE_INFO();
         virtual jclass getMyClass() const;
 
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_PreparedStatement( JNIEnv * pEnv, java_sql_Connection& _rCon,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/java/sql/Ref.hxx b/connectivity/source/inc/java/sql/Ref.hxx
index f7410d4..414a64e 100644
--- a/connectivity/source/inc/java/sql/Ref.hxx
+++ b/connectivity/source/inc/java/sql/Ref.hxx
@@ -42,13 +42,13 @@ namespace connectivity
                             public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XRef>
     {
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
         virtual ~java_sql_Ref();
     public:
         virtual jclass getMyClass() const;
 
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Ref( JNIEnv * pEnv, jobject myObj );
 
         // XRef
diff --git a/connectivity/source/inc/java/sql/ResultSet.hxx b/connectivity/source/inc/java/sql/ResultSet.hxx
index 272661b..d713e55 100644
--- a/connectivity/source/inc/java/sql/ResultSet.hxx
+++ b/connectivity/source/inc/java/sql/ResultSet.hxx
@@ -83,7 +83,7 @@ namespace connectivity
         void setFetchDirection(sal_Int32 _par0) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
         void setFetchSize(sal_Int32 _par0) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
     protected:
-        // statische Daten fuer die Klasse
+        // Static data for the class
         static jclass theClass;
 
         // OPropertyArrayUsageHelper
@@ -110,7 +110,7 @@ namespace connectivity
     public:
         DECLARE_SERVICE_INFO();
         virtual jclass getMyClass() const;
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_ResultSet( JNIEnv * pEnv, jobject myObj, const java::sql::ConnectionLog& _rParentLogger,java_sql_Connection& _rConnection,
             java_sql_Statement_Base* pStmt = NULL );
 
diff --git a/connectivity/source/inc/java/sql/ResultSetMetaData.hxx b/connectivity/source/inc/java/sql/ResultSetMetaData.hxx
index e859afe..d91cd9b 100644
--- a/connectivity/source/inc/java/sql/ResultSetMetaData.hxx
+++ b/connectivity/source/inc/java/sql/ResultSetMetaData.hxx
@@ -47,13 +47,13 @@ namespace connectivity
         java_sql_Connection*        m_pConnection;
         sal_Int32                   m_nColumnCount;
 
-        // statische Daten fuer die Klasse
+        // Static data for the class
         static jclass theClass;
         virtual ~java_sql_ResultSetMetaData();
     public:
         virtual jclass getMyClass() const;
 
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_ResultSetMetaData( JNIEnv * pEnv, jobject myObj, const java::sql::ConnectionLog& _rResultSetLogger, java_sql_Connection& _rCon  );
 
         virtual sal_Int32 SAL_CALL getColumnCount(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
diff --git a/connectivity/source/inc/java/sql/SQLException.hxx b/connectivity/source/inc/java/sql/SQLException.hxx
index 2182216..22fa6c8 100644
--- a/connectivity/source/inc/java/sql/SQLException.hxx
+++ b/connectivity/source/inc/java/sql/SQLException.hxx
@@ -41,7 +41,7 @@ namespace connectivity
     class java_sql_SQLException :   public starsdbc::SQLException
     {
     public:
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_SQLException(){}
         java_sql_SQLException( const java_sql_SQLException_BASE& _rException,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> & _rContext);
     };
@@ -49,12 +49,12 @@ namespace connectivity
     class java_sql_SQLException_BASE :  public java_lang_Exception
     {
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
     public:
         virtual jclass getMyClass() const;
         virtual ~java_sql_SQLException_BASE();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_SQLException_BASE( JNIEnv * pEnv, jobject myObj );
 
         ::rtl::OUString getSQLState() const;
diff --git a/connectivity/source/inc/java/sql/SQLWarning.hxx b/connectivity/source/inc/java/sql/SQLWarning.hxx
index c77c0e9..2f0c379 100644
--- a/connectivity/source/inc/java/sql/SQLWarning.hxx
+++ b/connectivity/source/inc/java/sql/SQLWarning.hxx
@@ -41,12 +41,12 @@ namespace connectivity
     class java_sql_SQLWarning_BASE : public java_sql_SQLException_BASE
     {
     protected:
-    // statische Daten fuer die Klasse
+    // Static data for the class
         static jclass theClass;
     public:
         virtual jclass getMyClass() const;
         virtual ~java_sql_SQLWarning_BASE();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_SQLWarning_BASE( JNIEnv * pEnv, jobject myObj ) : java_sql_SQLException_BASE( pEnv, myObj ){}
 
     };
diff --git a/connectivity/source/inc/java/sql/Timestamp.hxx b/connectivity/source/inc/java/sql/Timestamp.hxx
index f7cf48e..39a8475 100644
--- a/connectivity/source/inc/java/sql/Timestamp.hxx
+++ b/connectivity/source/inc/java/sql/Timestamp.hxx
@@ -47,7 +47,7 @@ namespace connectivity
     public:
         virtual jclass getMyClass() const;
         virtual ~java_sql_Date();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Date( JNIEnv * pEnv, jobject myObj ) : java_util_Date(pEnv,myObj){}
         java_sql_Date( const ::com::sun::star::util::Date& _rOut );
 
@@ -68,7 +68,7 @@ namespace connectivity
     public:
         virtual jclass getMyClass() const;
         virtual ~java_sql_Time();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Time( JNIEnv * pEnv, jobject myObj ) : java_util_Date( pEnv, myObj ){}
         java_sql_Time( const ::com::sun::star::util::Time& _rOut );
         operator ::com::sun::star::util::Time();
@@ -86,7 +86,7 @@ namespace connectivity
     public:
         virtual jclass getMyClass() const;
         virtual ~java_sql_Timestamp();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_sql_Timestamp( JNIEnv * pEnv, jobject myObj ) : java_util_Date( pEnv, myObj ){}
         java_sql_Timestamp( const ::com::sun::star::util::DateTime& _rOut);
         operator ::com::sun::star::util::DateTime();
diff --git a/connectivity/source/inc/java/util/Date.hxx b/connectivity/source/inc/java/util/Date.hxx
index d7be97f..bb3590a 100644
--- a/connectivity/source/inc/java/util/Date.hxx
+++ b/connectivity/source/inc/java/util/Date.hxx
@@ -42,12 +42,12 @@ namespace connectivity
     class java_util_Date : 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_util_Date();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_util_Date( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
     };
 }
diff --git a/connectivity/source/inc/java/util/Property.hxx b/connectivity/source/inc/java/util/Property.hxx
index b31961b..bd30f53 100644
--- a/connectivity/source/inc/java/util/Property.hxx
+++ b/connectivity/source/inc/java/util/Property.hxx
@@ -35,12 +35,12 @@ namespace connectivity
     class java_util_Properties : 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_util_Properties();
-        // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+        // A ctor that is needed for returning the object
         java_util_Properties( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
         java_util_Properties( );
         void setProperty(const ::rtl::OUString key, const ::rtl::OUString& value);


More information about the Libreoffice-commits mailing list