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:08 +0200 |
commit | 54e9a2839065daf54bd22749daa66c8c58fc7b23 (patch) | |
tree | 589dae79835e0491a83f4ac0ac96b6ddfbd49dfc /connectivity/source | |
parent | ed4c2ab1e3f83cce828734b887e4884fc2f5ac4c (diff) |
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 b7054ed6269d..2428112ae7bd 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -199,7 +199,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 bdfed9f76714..0d810fcc2b32 100644 --- a/connectivity/source/drivers/file/FPreparedStatement.cxx +++ b/connectivity/source/drivers/file/FPreparedStatement.cxx @@ -415,7 +415,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); |