Translate German comments, fix some whitespace

This commit is contained in:
Philipp Weissenbacher
2012-03-05 23:34:51 +01:00
parent fe4bb3579a
commit b599575483
6 changed files with 18 additions and 27 deletions

View File

@@ -808,7 +808,7 @@ sal_Bool OSQLParseTreeIterator::getColumnTableRange(const OSQLParseNode* pNode,
{
::rtl::OUString aColName, aTableRange;
getColumnRange(pNode, aColName, aTableRange);
if (aTableRange.isEmpty()) // keinen gefunden
if (aTableRange.isEmpty()) // None found
{
// Look for the columns in the tables
for (ConstOSQLTablesIterator aIter = m_pImpl->m_pTables->begin(); aIter != m_pImpl->m_pTables->end(); ++aIter)
@@ -2015,7 +2015,7 @@ const OSQLParseNode* OSQLParseTreeIterator::getGroupByTree() const
OSL_ENSURE(pTableExp->count() == TABLE_EXPRESSION_CHILD_COUNT,"OSQLParseTreeIterator: error in parse tree!");
pGroupClause = pTableExp->getChild(2);
// Wenn es aber eine order_by ist, dann darf sie nicht leer sein:
// If it is an order_by, it must not be empty
if(pGroupClause->count() != 3)
pGroupClause = NULL;
return pGroupClause;