summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /connectivity/source
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/commontools/TKeyColumns.cxx2
-rw-r--r--connectivity/source/commontools/dbtools2.cxx2
-rw-r--r--connectivity/source/drivers/ado/APreparedStatement.cxx2
-rw-r--r--connectivity/source/drivers/dbase/DIndex.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NStatement.hxx2
-rw-r--r--connectivity/source/drivers/file/FDateFunctions.cxx4
-rw-r--r--connectivity/source/drivers/file/FNoException.cxx2
-rw-r--r--connectivity/source/drivers/firebird/Blob.hxx4
-rw-r--r--connectivity/source/drivers/firebird/DatabaseMetaData.cxx2
-rw-r--r--connectivity/source/drivers/firebird/ResultSetMetaData.cxx2
-rw-r--r--connectivity/source/drivers/jdbc/DatabaseMetaData.cxx2
-rw-r--r--connectivity/source/drivers/macab/MacabRecords.cxx2
-rw-r--r--connectivity/source/drivers/macab/MacabStatement.cxx2
-rw-r--r--connectivity/source/drivers/mork/README2
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx2
-rw-r--r--connectivity/source/drivers/odbc/OStatement.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_preparedstatement.hxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_statement.hxx2
-rw-r--r--connectivity/source/inc/odbc/OConnection.hxx2
19 files changed, 21 insertions, 21 deletions
diff --git a/connectivity/source/commontools/TKeyColumns.cxx b/connectivity/source/commontools/TKeyColumns.cxx
index 11323dec47ed..30b9ee9047c7 100644
--- a/connectivity/source/commontools/TKeyColumns.cxx
+++ b/connectivity/source/commontools/TKeyColumns.cxx
@@ -98,7 +98,7 @@ sdbcx::ObjectType OKeyColumnsHelper::createObject(const OUString& _rName)
}
catch(const SQLException&)
{
- // somethimes we get an error when asking for this param
+ // sometimes we get an error when asking for this param
}
OKeyColumn* pRet = new OKeyColumn(aRefColumnName,
diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx
index 632345565d91..92266f420e52 100644
--- a/connectivity/source/commontools/dbtools2.cxx
+++ b/connectivity/source/commontools/dbtools2.cxx
@@ -511,7 +511,7 @@ namespace
Reference< XModel> lcl_getXModel(const Reference< XInterface>& _xIface)
{
Reference< XInterface > xParent = _xIface;
- Reference< XModel > xModel(xParent,UNO_QUERY);;
+ Reference< XModel > xModel(xParent,UNO_QUERY);
while( xParent.is() && !xModel.is() )
{
Reference<XChild> xChild(xParent,UNO_QUERY);
diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx
index aea1232e5925..1546e27741c8 100644
--- a/connectivity/source/drivers/ado/APreparedStatement.cxx
+++ b/connectivity/source/drivers/ado/APreparedStatement.cxx
@@ -263,7 +263,7 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery( ) throw(SQLE
m_RecordSet.Close();
m_RecordSet.clear();
- // the create the new onces
+ // then create the new ones
m_RecordSet.Create();
OLEVariant aCmd;
aCmd.setIDispatch(m_Command);
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx
index 9e8ee7c7990c..6f51b17f5ec3 100644
--- a/connectivity/source/drivers/dbase/DIndex.cxx
+++ b/connectivity/source/drivers/dbase/DIndex.cxx
@@ -285,7 +285,7 @@ void ODbaseIndex::Collect(ONDXPage* pPage)
void ODbaseIndex::Release(bool bSave)
{
- // Release the Index-recources
+ // Release the Index-resources
m_bUseCollector = false;
if (m_aCurLeaf.Is())
diff --git a/connectivity/source/drivers/evoab2/NStatement.hxx b/connectivity/source/drivers/evoab2/NStatement.hxx
index c791cf54dbdb..74695da2e4c5 100644
--- a/connectivity/source/drivers/evoab2/NStatement.hxx
+++ b/connectivity/source/drivers/evoab2/NStatement.hxx
@@ -212,7 +212,7 @@ namespace connectivity
virtual void SAL_CALL close( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) override;
protected:
- /** will return the EBookQuery representing the stamement's WHERE condition, or throw
+ /** will return the EBookQuery representing the statement WHERE condition, or throw
Also, all statement dependent members (such as the parser/iterator) will be inited afterwards.
*/
diff --git a/connectivity/source/drivers/file/FDateFunctions.cxx b/connectivity/source/drivers/file/FDateFunctions.cxx
index 1b475af6e06d..bf1c7ce628d4 100644
--- a/connectivity/source/drivers/file/FDateFunctions.cxx
+++ b/connectivity/source/drivers/file/FDateFunctions.cxx
@@ -254,7 +254,7 @@ ORowSetValue OOp_CurDate::operate(const ::std::vector<ORowSetValue>& lhs) const
return ORowSetValue();
Date aCurDate( Date::SYSTEM );
- return aCurDate.GetUNODate();;
+ return aCurDate.GetUNODate();
}
ORowSetValue OOp_CurTime::operate(const ::std::vector<ORowSetValue>& lhs) const
@@ -263,7 +263,7 @@ ORowSetValue OOp_CurTime::operate(const ::std::vector<ORowSetValue>& lhs) const
return ORowSetValue();
tools::Time aCurTime( tools::Time::SYSTEM );
- return aCurTime.GetUNOTime();;
+ return aCurTime.GetUNOTime();
}
ORowSetValue OOp_Now::operate(const ::std::vector<ORowSetValue>& lhs) const
diff --git a/connectivity/source/drivers/file/FNoException.cxx b/connectivity/source/drivers/file/FNoException.cxx
index a93eee2f7398..e60b24c3a0d5 100644
--- a/connectivity/source/drivers/file/FNoException.cxx
+++ b/connectivity/source/drivers/file/FNoException.cxx
@@ -78,7 +78,7 @@ void OPreparedStatement::scanParameter(OSQLParseNode* pParseNode,::std::vector<
DBG_ASSERT(pParseNode->getChild(0)->getNodeType() == SQL_NODE_PUNCTUATION,"OResultSet: Parse Tree fehlerhaft");
_rParaNodes.push_back(pParseNode);
- // Further descend not nessesary
+ // Further descend not necessary
return;
}
diff --git a/connectivity/source/drivers/firebird/Blob.hxx b/connectivity/source/drivers/firebird/Blob.hxx
index 5a1982a9be6f..40617462f94b 100644
--- a/connectivity/source/drivers/firebird/Blob.hxx
+++ b/connectivity/source/drivers/firebird/Blob.hxx
@@ -34,7 +34,7 @@ namespace connectivity
isc_db_handle* m_pDatabaseHandle;
isc_tr_handle* m_pTransactionHandle;
// We store our own copy of the blob id as typically the statement
- // manages it's own blob id, and blobs are independent of a statement
+ // manages its own blob id, and blobs are independent of a statement
// in firebird.
ISC_QUAD m_blobID;
isc_blob_handle m_blobHandle;
@@ -123,4 +123,4 @@ namespace connectivity
}
#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_FIREBIRD_BLOB_HXX
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index 03bdae0e996e..95ef5f58c4bb 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -1695,7 +1695,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
ODatabaseMetaDataResultSet::ORow aRow(8);
aRow[0] = new ORowSetValueDecorator(); // Unused
aRow[1] = new ORowSetValueDecorator(); // TABLE_CAT unsupported
- aRow[2] = new ORowSetValueDecorator(); // TABLE_SCHEM unussported.
+ aRow[2] = new ORowSetValueDecorator(); // TABLE_SCHEM unsupported.
while( rs->next() )
{
diff --git a/connectivity/source/drivers/firebird/ResultSetMetaData.cxx b/connectivity/source/drivers/firebird/ResultSetMetaData.cxx
index 2da269cd6693..df5ef4eab6f9 100644
--- a/connectivity/source/drivers/firebird/ResultSetMetaData.cxx
+++ b/connectivity/source/drivers/firebird/ResultSetMetaData.cxx
@@ -64,7 +64,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
// Firebird is generally case sensitive when using quoted identifiers.
- // IF THIS CHANGES make ResultSet::findColumn to be case-insenstive as needed.
+ // IF THIS CHANGES make ResultSet::findColumn to be case-insensitive as needed.
// Generally names that are entirely UPPERCASE are case insensitive, however
// there remains some ambiguity if there is another mixed-case-named column
// of the same name. For safety always assume case insensitive.
diff --git a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
index f010ab9179e8..20f78b333d40 100644
--- a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
@@ -422,7 +422,7 @@ Reference< XResultSet > SAL_CALL java_sql_DatabaseMetaData::getTablePrivileges(
if ( xReturn.is() )
{
- // we have to check the result columns for the tables privleges
+ // we have to check the result columns for the tables privileges
Reference< XResultSetMetaDataSupplier > xMetaSup(xReturn,UNO_QUERY);
if ( xMetaSup.is() )
{
diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx
index a08759fa9f0d..caf1db78bc9e 100644
--- a/connectivity/source/drivers/macab/MacabRecords.cxx
+++ b/connectivity/source/drivers/macab/MacabRecords.cxx
@@ -447,7 +447,7 @@ MacabHeader *MacabRecords::createHeaderForRecordType(const CFArrayRef _records,
{
/* The order of these matters (we want all address properties
* before any phone properties, or else things will look weird),
- * so we get all possibilitities for each property, going through
+ * so we get all possibilities for each property, going through
* each record, and then go onto the next property.
* (Note: the reason that we have to go through all records
* in the first place is that properties like address, phone, and
diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx
index 1b91c10f3ce8..5cdfc1ca0e0c 100644
--- a/connectivity/source/drivers/macab/MacabStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabStatement.cxx
@@ -460,7 +460,7 @@ OSL_TRACE("Mac OS Address book - SQL Request: %s", OUtoCStr(sql));
impl_throwError(STR_QUERY_TOO_COMPLEX);
}
- m_xResultSet = Reference<XResultSet>(pResult);;
+ m_xResultSet = Reference<XResultSet>(pResult);
return xRS;
}
diff --git a/connectivity/source/drivers/mork/README b/connectivity/source/drivers/mork/README
index 9d8eb818e5fb..0d4207b0ca0d 100644
--- a/connectivity/source/drivers/mork/README
+++ b/connectivity/source/drivers/mork/README
@@ -7,7 +7,7 @@ Description
Cross Platform Mozilla Mork format reader.
-Compillation
+Compilation
------------
g++ -o MorkParser main.cpp MorkParser.cpp
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx
index d97a1bf41e04..e5f264315e58 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx
@@ -100,7 +100,7 @@ namespace
{
OUString sProductPath;
- // check whether we have an anevironment variable which helps us
+ // check whether we have an environment variable which help us
const char* pProfileByEnv = getenv( ProductRootEnvironmentVariable[ productIndex ] );
if ( pProfileByEnv )
{
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx
index 0aa9f00317c1..58a7a1df6937 100644
--- a/connectivity/source/drivers/odbc/OStatement.cxx
+++ b/connectivity/source/drivers/odbc/OStatement.cxx
@@ -869,7 +869,7 @@ bool OStatement_Base::isUsingBookmarks() const
bool OStatement_Base::getEscapeProcessing() const
{
OSL_ENSURE( m_aStatementHandle, "StatementHandle is null!" );
- return SQL_NOSCAN_OFF == getStmtOption<SQLULEN, SQL_IS_UINTEGER>(SQL_ATTR_USE_BOOKMARKS, SQL_NOSCAN_OFF);;
+ return SQL_NOSCAN_OFF == getStmtOption<SQLULEN, SQL_IS_UINTEGER>(SQL_ATTR_USE_BOOKMARKS, SQL_NOSCAN_OFF);
}
void OStatement_Base::setUsingBookmarks(bool _bUseBookmark)
diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
index 749e63591e5c..2b412926a442 100644
--- a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
+++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx
@@ -92,7 +92,7 @@ private:
public:
/**
- * @param ppConnection The piece of memory, pConnection points to, is accessisble
+ * @param ppConnection The piece of memory, pConnection points to, is accessible
* as long as a reference to paramenter con is held.
*/
PreparedStatement( const rtl::Reference< RefCountedMutex > & refMutex,
diff --git a/connectivity/source/drivers/postgresql/pq_statement.hxx b/connectivity/source/drivers/postgresql/pq_statement.hxx
index 0ab2e4b5a843..920ff5df8b5a 100644
--- a/connectivity/source/drivers/postgresql/pq_statement.hxx
+++ b/connectivity/source/drivers/postgresql/pq_statement.hxx
@@ -87,7 +87,7 @@ private:
public:
/**
- * @param ppConnection The piece of memory, pConnection points to, is accessisble
+ * @param ppConnection The piece of memory, pConnection points to, is accessible
* as long as a reference to paramenter con is held.
*/
Statement( const rtl::Reference< RefCountedMutex > & refMutex,
diff --git a/connectivity/source/inc/odbc/OConnection.hxx b/connectivity/source/inc/odbc/OConnection.hxx
index a3122f5612c9..c2a14e5b494a 100644
--- a/connectivity/source/inc/odbc/OConnection.hxx
+++ b/connectivity/source/inc/odbc/OConnection.hxx
@@ -55,7 +55,7 @@ namespace connectivity
// Data attributes
- ::std::map< SQLHANDLE,OConnection*> m_aConnections; // holds all connectionas which are need for serveral statements
+ ::std::map< SQLHANDLE,OConnection*> m_aConnections; // holds all connections which are need for serveral statements
OUString m_sUser; // the user name