Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


---
 connectivity/inc/connectivity/sqlparse.hxx |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/connectivity/inc/connectivity/sqlparse.hxx b/connectivity/inc/connectivity/sqlparse.hxx
index d55c555..531f1ac 100644
--- a/connectivity/inc/connectivity/sqlparse.hxx
+++ b/connectivity/inc/connectivity/sqlparse.hxx
@@ -208,24 +208,23 @@ namespace connectivity
         /// access to the SQLError instance owned by this parser
         const SQLError& getErrorHelper() const;
 
-        // TokenIDToStr: Token-Name zu einer Token-Nr.
+        // TokenIDToStr: token name belonging to a token number.
         static ::rtl::OString TokenIDToStr(sal_uInt32 nTokenID, const IParseContext* pContext = 
NULL);
 
-        // StrToTokenID: Token-Nr. zu einem Token-Namen.
+        // StrToTokenID: token number belonging to a token name.
         // static sal_uInt32 StrToTokenID(const ::rtl::OString & rName);
 
-        // RuleIDToStr gibt den zu einer RuleID gehoerenden ::rtl::OUString zurueck
-        // (Leerstring, falls nicht gefunden)
+        // (empty string if not found)
         static ::rtl::OUString RuleIDToStr(sal_uInt32 nRuleID);
 
-        // StrToRuleID berechnet zu einem ::rtl::OUString die RuleID (d.h. 
::com::sun::star::sdbcx::Index in yytname)
-        // (0, falls nicht gefunden). Die Suche nach der ID aufgrund eines Strings ist
-        // extrem ineffizient (sequentielle Suche nach ::rtl::OUString)!
+        // StrToRuleID calculates the RuleID for a ::rtl::OUString (that is, 
::com::sun::star::sdbcx::Index in yytname)
+        // (0 if not found). The search for an ID based on a String is
+        // extremely inefficient (sequential search for ::rtl::OUString)!
         static sal_uInt32 StrToRuleID(const ::rtl::OString & rValue);
 
         static OSQLParseNode::Rule RuleIDToRule( sal_uInt32 _nRule );
 
-        // RuleId mit enum, wesentlich effizienter
+        // RuleId with enum, far more efficient
         static sal_uInt32 RuleID(OSQLParseNode::Rule eRule);
         // compares the _sFunctionName with all known function names and return the DataType of 
the return value
         static sal_Int32 getFunctionReturnType(const ::rtl::OUString& _sFunctionName, const 
IParseContext* pContext = NULL);
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.