diff options
author | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2012-03-05 23:13:54 +0100 |
---|---|---|
committer | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2012-03-05 23:15:08 +0100 |
commit | 3dcf3c07aaff2eec0379135ec605396b7002f6a7 (patch) | |
tree | c3a62c752c1e320f398725ccb30d905d806eda16 /connectivity | |
parent | 2b5327a9b6c3e730cc79db4546f82f9467f80e1a (diff) |
Translate German comments
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mozab/MPreparedStatement.cxx | 12 | ||||
-rw-r--r-- | connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/mozab/MPreparedStatement.cxx b/connectivity/source/drivers/mozab/MPreparedStatement.cxx index e21ec2f803df..bc19e36a99f2 100644 --- a/connectivity/source/drivers/mozab/MPreparedStatement.cxx +++ b/connectivity/source/drivers/mozab/MPreparedStatement.cxx @@ -416,11 +416,11 @@ ORowSetValue& x) sal_uInt32 OPreparedStatement::AddParameter(OSQLParseNode * pParameter, const Reference<XPropertySet>& _xCol) { OSL_UNUSED( pParameter ); - // Nr. of the new added Parameters + // Count of the newly added Parameters sal_uInt32 nParameter = m_xParamColumns->get().size()+1; - OSL_ENSURE(SQL_ISRULE(pParameter,parameter),"OResultSet::AddParameter: Argument ist kein Parameter"); - OSL_ENSURE(pParameter->count() > 0,"OResultSet: Fehler im Parse Tree"); + OSL_ENSURE(SQL_ISRULE(pParameter,parameter),"OResultSet::AddParameter: Argument is not a Parameter"); + OSL_ENSURE(pParameter->count() > 0,"OResultSet: error in parse tree"); #if OSL_DEBUG_LEVEL > 0 OSQLParseNode * pMark = pParameter->getChild(0); OSL_UNUSED( pMark ); @@ -506,13 +506,13 @@ aParseNodes.begin(); // ----------------------------------------------------------------------------- void OPreparedStatement::scanParameter(OSQLParseNode* pParseNode,::std::vector< OSQLParseNode*>& _rParaNodes) { - OSL_ENSURE(pParseNode != NULL,"OResultSet: interner Fehler: ungueltiger ParseNode"); + OSL_ENSURE(pParseNode != NULL,"OResultSet: internal error: invalid ParseNode"); // Parameter Name-Row found? if (SQL_ISRULE(pParseNode,parameter)) { - OSL_ENSURE(pParseNode->count() >= 1,"OResultSet: Parse Tree fehlerhaft"); - OSL_ENSURE(pParseNode->getChild(0)->getNodeType() == SQL_NODE_PUNCTUATION,"OResultSet: Parse Tree fehlerhaft"); + OSL_ENSURE(pParseNode->count() >= 1,"OResultSet: Faulty Parse Tree"); + OSL_ENSURE(pParseNode->getChild(0)->getNodeType() == SQL_NODE_PUNCTUATION,"OResultSet: Faulty Parse Tree"); _rParaNodes.push_back(pParseNode); // further search isn't necessary diff --git a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx index 7a17249ec8e3..66b077fc1903 100644 --- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx @@ -128,7 +128,7 @@ namespace connectivity template < typename T, SQLSMALLINT sqlTypeId > T getInteger ( sal_Int32 columnIndex ); public: - // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird: + // A ctor needed for returning the object ODatabaseMetaDataResultSet(OConnection* _pConnection); |