[Libreoffice-commits] .: connectivity/source
Philipp Weissenbacher
p.weissenbacher at kemper.freedesktop.org
Mon Mar 5 14:56:29 PST 2012
connectivity/source/drivers/mozab/MPreparedStatement.hxx | 5 ++---
connectivity/source/parse/sqliterator.cxx | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 38b510af0a5ed1cd365666af84a062b2e67c00d5
Author: Philipp Weissenbacher <p.weissenbacher at gmail.com>
Date: Mon Mar 5 23:56:13 2012 +0100
Finish translating connectivity, fix some whitespace
diff --git a/connectivity/source/drivers/mozab/MPreparedStatement.hxx b/connectivity/source/drivers/mozab/MPreparedStatement.hxx
index 31cfa97..2151b3d 100644
--- a/connectivity/source/drivers/mozab/MPreparedStatement.hxx
+++ b/connectivity/source/drivers/mozab/MPreparedStatement.hxx
@@ -69,8 +69,7 @@ namespace connectivity
//====================================================================
// Data attributes
//====================================================================
- sal_Int32 m_nNumParams; // Number of parameter markers
- // for the prepared statement
+ sal_Int32 m_nNumParams; // Number of parameter markers for the prepared statement
::rtl::OUString m_sSqlStatement;
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > m_xMetaData;
@@ -109,7 +108,7 @@ namespace connectivity
public:
DECLARE_SERVICE_INFO();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // A ctor need for returning the object
OPreparedStatement( OConnection* _pConnection,const ::rtl::OUString& sql);
void lateInit();
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index c9d001d..11f95c5 100644
--- a/connectivity/source/parse/sqliterator.cxx
+++ b/connectivity/source/parse/sqliterator.cxx
@@ -1993,7 +1993,7 @@ const OSQLParseNode* OSQLParseTreeIterator::getOrderTree() const
OSL_ENSURE(pTableExp->count() == TABLE_EXPRESSION_CHILD_COUNT,"OSQLParseTreeIterator: error in parse tree!");
pOrderClause = pTableExp->getChild(ORDER_BY_CHILD_POS);
- // Wenn es aber eine order_by ist, dann darf sie nicht leer sein:
+ // If it is a order_by, it must not be empty
if(pOrderClause->count() != 3)
pOrderClause = NULL;
return pOrderClause;
More information about the Libreoffice-commits
mailing list