[Libreoffice-commits] .: connectivity/source

Philipp Weissenbacher p.weissenbacher at kemper.freedesktop.org
Tue Feb 28 06:55:33 PST 2012


 connectivity/source/inc/file/fanalyzer.hxx    |    4 ++--
 connectivity/source/inc/file/fcode.hxx        |   26 ++++++++++++--------------
 connectivity/source/inc/file/quotedstring.hxx |    4 ++--
 3 files changed, 16 insertions(+), 18 deletions(-)

New commits:
commit db8715c5babb1b2a7defc31298ed07e64618d9ed
Author: Philipp Weissenbacher <p.weissenbacher at gmail.com>
Date:   Tue Feb 28 14:56:22 2012 +0100

    Translate German comments and fix some whitespace

diff --git a/connectivity/source/inc/file/fanalyzer.hxx b/connectivity/source/inc/file/fanalyzer.hxx
index 03045f7..5faf61a 100644
--- a/connectivity/source/inc/file/fanalyzer.hxx
+++ b/connectivity/source/inc/file/fanalyzer.hxx
@@ -65,8 +65,8 @@ namespace connectivity
                 {  }
 
             OConnection* getConnection() const { return m_pConnection; }
-            void describeParam(::rtl::Reference<OSQLColumns> rParameterColumns); // genauere Beschreibung der Parameter
-            ::std::vector<sal_Int32>* bindEvaluationRow(OValueRefRow& _pRow);                   // Anbinden einer Ergebniszeile an die Restrictions
+            void describeParam(::rtl::Reference<OSQLColumns> rParameterColumns); // More detailed description of parameters
+            ::std::vector<sal_Int32>* bindEvaluationRow(OValueRefRow& _pRow); // Bind an evaluation row to the restriction
             /** bind the select columns if they contain a function which needs a row value
                 @param  _pRow   the result row
             */
diff --git a/connectivity/source/inc/file/fcode.hxx b/connectivity/source/inc/file/fcode.hxx
index c74e633..8c8ed18 100644
--- a/connectivity/source/inc/file/fcode.hxx
+++ b/connectivity/source/inc/file/fcode.hxx
@@ -106,12 +106,12 @@ namespace connectivity
             sal_uInt16 getRowPos() const {return m_nRowPos;}
             virtual const ORowSetValue& getValue() const;
             virtual void setValue(const ORowSetValue& _rVal);
-            void bindValue(const OValueRefRow& _pRow);                      // Bindung an den Wert, den der Operand repraesentiert
+            void bindValue(const OValueRefRow& _pRow); // Bind to the value that the operand represents
 
             TYPEINFO();
         };
 
-        // Attribute aus einer Ergebniszeile
+        // Attributes from a result row
         class OOO_DLLPUBLIC_FILE OOperandAttr : public OOperandRow
         {
         protected:
@@ -126,7 +126,7 @@ namespace connectivity
             TYPEINFO();
         };
 
-        // Parameter fuer ein Praedikat
+        // Parameter for a predicate
         class OOperandParam : public OOperandRow
         {
         public:
@@ -136,7 +136,7 @@ namespace connectivity
             TYPEINFO();
         };
 
-        // WerteOperanden
+        // Value operands
         class OOperandValue : public OOperand
         {
         protected:
@@ -158,7 +158,7 @@ namespace connectivity
         };
 
 
-        // Konstanten
+        // Constants
         class OOperandConst : public OOperandValue
         {
         public:
@@ -168,7 +168,7 @@ namespace connectivity
         };
 
 
-        // Ergebnis Operanden
+        // Result operands
         class OOperandResult : public OOperandValue
         {
         protected:
@@ -213,19 +213,18 @@ namespace connectivity
             TYPEINFO();
         };
 
-        // Operatoren
+        // Operators
         class OOO_DLLPUBLIC_FILE OOperator : public OCode
         {
         public:
             virtual void Exec(OCodeStack&) = 0;
-            virtual sal_uInt16 getRequestedOperands() const;    // Anzahl benoetigter Operanden
-                                                                // Standard ist 2
+            virtual sal_uInt16 getRequestedOperands() const;    // Count of requested operands
+                                                                // Defaults to 2
             TYPEINFO();
         };
 
 
-        // boolsche Operatoren
-
+        // Boolean operators
         class OOO_DLLPUBLIC_FILE OBoolOperator : public OOperator
         {
         public:
@@ -315,8 +314,7 @@ namespace connectivity
             virtual sal_Bool operate(const OOperand*, const OOperand*) const;
         };
 
-        // numerische Operatoren
-
+        // Numerical operators
         class ONumOperator : public OOperator
         {
         public:
@@ -357,7 +355,7 @@ namespace connectivity
             return getValue().getDouble() != double(0.0);
         }
 
-        // operator
+        // Operator
         class ONthOperator : public OOperator
         {
         public:
diff --git a/connectivity/source/inc/file/quotedstring.hxx b/connectivity/source/inc/file/quotedstring.hxx
index cd4ace0..67e7fda 100644
--- a/connectivity/source/inc/file/quotedstring.hxx
+++ b/connectivity/source/inc/file/quotedstring.hxx
@@ -35,8 +35,8 @@
 namespace connectivity
 {
     //==================================================================
-    // Ableitung von String mit ueberladenen GetToken/GetTokenCount-Methoden
-    // Speziell fuer FLAT FILE-Format: Strings koennen gequotet sein
+    // Derived from String, overriding GetToken/GetTokenCount methods
+    // Especially true for the flat file format: Strings can be quoted
     //==================================================================
     class OOO_DLLPUBLIC_FILE QuotedTokenizedString
     {


More information about the Libreoffice-commits mailing list