summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-06-19 16:43:41 +0200
committerAndras Timar <atimar@suse.com>2012-06-19 16:44:08 +0200
commit54e9a2839065daf54bd22749daa66c8c58fc7b23 (patch)
tree589dae79835e0491a83f4ac0ac96b6ddfbd49dfc /connectivity
parented4c2ab1e3f83cce828734b887e4884fc2f5ac4c (diff)
typo: paramters, paramaters -> parameters
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/inc/connectivity/parameters.hxx2
-rw-r--r--connectivity/source/commontools/parameters.cxx2
-rw-r--r--connectivity/source/drivers/file/FPreparedStatement.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/inc/connectivity/parameters.hxx b/connectivity/inc/connectivity/parameters.hxx
index 7c918502898f..a4c2d97ae11d 100644
--- a/connectivity/inc/connectivity/parameters.hxx
+++ b/connectivity/inc/connectivity/parameters.hxx
@@ -273,7 +273,7 @@ namespace dbtools
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxComponent
);
- /** collects initial meta information about inner paramaters (i.e. it initially fills
+ /** collects initial meta information about inner parameters (i.e. it initially fills
<member>m_aParameterInformation</member>).
@param _bSecondRun
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);