diff options
-rw-r--r-- | connectivity/source/drivers/mozab/MPreparedStatement.hxx | 5 | ||||
-rw-r--r-- | connectivity/source/parse/sqliterator.cxx | 2 |
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; |