summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorPhilipp Weissenbacher <p.weissenbacher@gmail.com>2012-03-05 23:56:13 +0100
committerPhilipp Weissenbacher <p.weissenbacher@gmail.com>2012-03-05 23:56:13 +0100
commit38b510af0a5ed1cd365666af84a062b2e67c00d5 (patch)
tree6fc2f494835f4d60f44ec71e1e060bd21cc12ce8 /connectivity
parentb5995754836c864bb38446060e17772c63253e37 (diff)
Finish translating connectivity, fix some whitespace
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mozab/MPreparedStatement.hxx5
-rw-r--r--connectivity/source/parse/sqliterator.cxx2
2 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/source/drivers/mozab/MPreparedStatement.hxx b/connectivity/source/drivers/mozab/MPreparedStatement.hxx
index 31cfa97bc3f0..2151b3d43112 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 c9d001db3bbb..11f95c548560 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;