summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FNoException.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2003-09-04 07:25:04 +0000
committerOliver Bolte <obo@openoffice.org>2003-09-04 07:25:04 +0000
commit034daa39820e1ef3e94610c420b1968b2021f777 (patch)
tree9ed8fcad7eb271b3f14ad167bdb51c60f0df0ab1 /connectivity/source/drivers/file/FNoException.cxx
parent5e5fb49ce3eebfa733cb16bb81f4a51eb91b817c (diff)
INTEGRATION: CWS oj4 (1.6.40); FILE MERGED
2003/06/27 13:37:53 oj 1.6.40.1: #i14648# implement string functions for file based drivers
Diffstat (limited to 'connectivity/source/drivers/file/FNoException.cxx')
-rw-r--r--connectivity/source/drivers/file/FNoException.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/connectivity/source/drivers/file/FNoException.cxx b/connectivity/source/drivers/file/FNoException.cxx
index 477949ad4ea1..1ed2763d700c 100644
--- a/connectivity/source/drivers/file/FNoException.cxx
+++ b/connectivity/source/drivers/file/FNoException.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FNoException.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2003-03-19 16:38:23 $
+ * last change: $Author: obo $ $Date: 2003-09-04 08:25:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -116,16 +116,16 @@ void OPredicateCompiler::Clean()
// -----------------------------------------------------------------------------
void OSQLAnalyzer::clean()
{
- m_aCompiler.Clean();
+ m_aCompiler->Clean();
}
// -----------------------------------------------------------------------------
-void OSQLAnalyzer::bindParameterRow(OValueRow _pRow)
+void OSQLAnalyzer::bindParameterRow(OValueRefRow& _pRow)
{
- OCodeList& rCodeList = m_aCompiler.m_aCodeList;
+ OCodeList& rCodeList = m_aCompiler->m_aCodeList;
for(OCodeList::iterator aIter = rCodeList.begin(); aIter != rCodeList.end();++aIter)
{
OOperandParam* pParam = PTR_CAST(OOperandParam,(*aIter));
- if (pParam)
+ if ( pParam )
pParam->bindValue(_pRow);
}
}
@@ -161,17 +161,17 @@ void OPreparedStatement::scanParameter(OSQLParseNode* pParseNode,::std::vector<
scanParameter(pParseNode->getChild(i),_rParaNodes);
}
// -----------------------------------------------------------------------------
-OKeyValue* OResultSet::GetOrderbyKeyValue(OValueRow _rRow)
+OKeyValue* OResultSet::GetOrderbyKeyValue(OValueRefRow& _rRow)
{
- UINT32 nBookmarkValue = Abs((sal_Int32)(*_rRow)[0]);
+ UINT32 nBookmarkValue = Abs((sal_Int32)(*_rRow)[0]->getValue());
OKeyValue* pKeyValue = OKeyValue::createKeyValue((UINT32)nBookmarkValue);
::std::vector<sal_Int32>::iterator aIter = m_aOrderbyColumnNumber.begin();
for (;aIter != m_aOrderbyColumnNumber.end(); ++aIter)
{
- OSL_ENSURE(*aIter < _rRow->size(),"Invalid index for orderkey values!");
- pKeyValue->pushKey(new ORowSetValueDecorator((*_rRow)[*aIter]));
+ OSL_ENSURE(*aIter < static_cast<sal_Int32>(_rRow->size()),"Invalid index for orderkey values!");
+ pKeyValue->pushKey(new ORowSetValueDecorator((*_rRow)[*aIter]->getValue()));
}
return pKeyValue;