Kaydet (Commit) 3dcf3c07 authored tarafından Philipp Weissenbacher's avatar Philipp Weissenbacher

Translate German comments

üst 2b5327a9
...@@ -416,11 +416,11 @@ ORowSetValue& x) ...@@ -416,11 +416,11 @@ ORowSetValue& x)
sal_uInt32 OPreparedStatement::AddParameter(OSQLParseNode * pParameter, const Reference<XPropertySet>& _xCol) sal_uInt32 OPreparedStatement::AddParameter(OSQLParseNode * pParameter, const Reference<XPropertySet>& _xCol)
{ {
OSL_UNUSED( pParameter ); OSL_UNUSED( pParameter );
// Nr. of the new added Parameters // Count of the newly added Parameters
sal_uInt32 nParameter = m_xParamColumns->get().size()+1; sal_uInt32 nParameter = m_xParamColumns->get().size()+1;
OSL_ENSURE(SQL_ISRULE(pParameter,parameter),"OResultSet::AddParameter: Argument ist kein Parameter"); OSL_ENSURE(SQL_ISRULE(pParameter,parameter),"OResultSet::AddParameter: Argument is not a Parameter");
OSL_ENSURE(pParameter->count() > 0,"OResultSet: Fehler im Parse Tree"); OSL_ENSURE(pParameter->count() > 0,"OResultSet: error in parse tree");
#if OSL_DEBUG_LEVEL > 0 #if OSL_DEBUG_LEVEL > 0
OSQLParseNode * pMark = pParameter->getChild(0); OSQLParseNode * pMark = pParameter->getChild(0);
OSL_UNUSED( pMark ); OSL_UNUSED( pMark );
...@@ -506,13 +506,13 @@ aParseNodes.begin(); ...@@ -506,13 +506,13 @@ aParseNodes.begin();
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
void OPreparedStatement::scanParameter(OSQLParseNode* pParseNode,::std::vector< OSQLParseNode*>& _rParaNodes) 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? // Parameter Name-Row found?
if (SQL_ISRULE(pParseNode,parameter)) if (SQL_ISRULE(pParseNode,parameter))
{ {
OSL_ENSURE(pParseNode->count() >= 1,"OResultSet: Parse Tree fehlerhaft"); OSL_ENSURE(pParseNode->count() >= 1,"OResultSet: Faulty Parse Tree");
OSL_ENSURE(pParseNode->getChild(0)->getNodeType() == SQL_NODE_PUNCTUATION,"OResultSet: Parse Tree fehlerhaft"); OSL_ENSURE(pParseNode->getChild(0)->getNodeType() == SQL_NODE_PUNCTUATION,"OResultSet: Faulty Parse Tree");
_rParaNodes.push_back(pParseNode); _rParaNodes.push_back(pParseNode);
// further search isn't necessary // further search isn't necessary
......
...@@ -128,7 +128,7 @@ namespace connectivity ...@@ -128,7 +128,7 @@ namespace connectivity
template < typename T, SQLSMALLINT sqlTypeId > T getInteger ( sal_Int32 columnIndex ); template < typename T, SQLSMALLINT sqlTypeId > T getInteger ( sal_Int32 columnIndex );
public: public:
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird: // A ctor needed for returning the object
ODatabaseMetaDataResultSet(OConnection* _pConnection); ODatabaseMetaDataResultSet(OConnection* _pConnection);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment