diff options
author | Andras Timar <atimar@suse.com> | 2012-06-19 16:43:41 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-06-19 16:44:51 +0200 |
commit | b085cdc1333d25bac22bb427fbf065c01e7e7df6 (patch) | |
tree | 43ad65f53bfa2f918af705ebf48b2015998896f1 /connectivity/source | |
parent | do not repeate twice .0.0.beta1 in the download tarball name (diff) | |
download | core-b085cdc1333d25bac22bb427fbf065c01e7e7df6.tar.gz core-b085cdc1333d25bac22bb427fbf065c01e7e7df6.zip |
typo: paramters, paramaters -> parameters
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/commontools/parameters.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/file/FPreparedStatement.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index 92dcb34c990e..a448bf13ae87 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -208,7 +208,7 @@ namespace dbtools ::rtl::OUString sName; xParam->getPropertyValue( OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME) ) >>= sName; - // only append additonal paramters when they are not already in the list + // only append additonal parameters when they are not already in the list ParameterInformation::iterator aExistentPos = m_aParameterInformation.find( sName ); OSL_ENSURE( !_bSecondRun || ( aExistentPos != m_aParameterInformation.end() ), "ParameterManager::collectInnerParameters: the parameter information should already exist in the second run!" ); diff --git a/connectivity/source/drivers/file/FPreparedStatement.cxx b/connectivity/source/drivers/file/FPreparedStatement.cxx index 53d628f18a42..1ae4cc4f3baa 100644 --- a/connectivity/source/drivers/file/FPreparedStatement.cxx +++ b/connectivity/source/drivers/file/FPreparedStatement.cxx @@ -426,7 +426,7 @@ Reference<XResultSet> OPreparedStatement::initResultSet() m_pResultSet->clear(); Reference<XResultSet> xRs(m_pResultSet); - // check if we got enough paramters + // check if we got enough parameters if ( (m_aParameterRow.is() && ( m_aParameterRow->get().size() -1 ) < m_xParamColumns->get().size()) || (m_xParamColumns.is() && !m_aParameterRow.is() && !m_aParameterRow->get().empty()) ) m_pConnection->throwGenericSQLException(STR_INVALID_PARA_COUNT,*this); |