Finish translating connectivity, fix some whitespace

This commit is contained in:
Philipp Weissenbacher
2012-03-05 23:56:13 +01:00
parent b599575483
commit 38b510af0a
2 changed files with 3 additions and 4 deletions

View File

@@ -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();

View File

@@ -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;