summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:21:49 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-03 09:02:48 +0000
commit87dc6c82d5cd174ae2384b66a203a93402b43291 (patch)
tree27d9e9444993c4c858b8b64818c073d389594408 /connectivity
parent6e7991dfd8c54a833f4a9795a0d57f4690e92e6b (diff)
Fix typos
Change-Id: Ideb5688a8c9e7cf10038f2e9d00991e8653b1875 Reviewed-on: https://gerrit.libreoffice.org/16706 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/TTableHelper.cxx2
-rw-r--r--connectivity/source/commontools/dbtools2.cxx2
-rw-r--r--connectivity/source/drivers/file/FConnection.cxx2
-rw-r--r--connectivity/source/drivers/firebird/Connection.cxx2
-rw-r--r--connectivity/source/drivers/mork/MorkParser.hxx2
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx2
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_resultset.cxx2
9 files changed, 9 insertions, 9 deletions
diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx
index 2ddf19a8f3fb..b12f05a964eb 100644
--- a/connectivity/source/commontools/TTableHelper.cxx
+++ b/connectivity/source/commontools/TTableHelper.cxx
@@ -367,7 +367,7 @@ void OTableHelper::refreshForeignKeys(TStringVector& _rNames)
OUString aName,sCatalog,aSchema,sOldFKName;
while( xResult->next() )
{
- // this must be outsid the "if" because we have to call in a right order
+ // this must be outside the "if" because we have to call in a right order
sCatalog = xRow->getString(1);
if ( xRow->wasNull() )
sCatalog.clear();
diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx
index 13923c0a5785..ce7fc96a952c 100644
--- a/connectivity/source/commontools/dbtools2.cxx
+++ b/connectivity/source/commontools/dbtools2.cxx
@@ -750,7 +750,7 @@ sal_Int32 getTablePrivileges(const Reference< XDatabaseMetaData>& _xMetaData,
// Some drivers put a table privilege as soon as any column has the privilege,
// some drivers only if all columns have the privilege.
- // To unifiy the situation, collect column privileges here, too.
+ // To unify the situation, collect column privileges here, too.
Reference< XResultSet > xColumnPrivileges = _xMetaData->getColumnPrivileges(aVal, _sSchema, _sTable, OUString("%"));
Reference< XRow > xColumnCurrentRow(xColumnPrivileges, UNO_QUERY);
if ( xColumnCurrentRow.is() )
diff --git a/connectivity/source/drivers/file/FConnection.cxx b/connectivity/source/drivers/file/FConnection.cxx
index 8f126573d822..92a1a3abb844 100644
--- a/connectivity/source/drivers/file/FConnection.cxx
+++ b/connectivity/source/drivers/file/FConnection.cxx
@@ -192,7 +192,7 @@ void OConnection::construct(const OUString& url,const Sequence< PropertyValue >&
}
else
{
- OSL_FAIL("OConnection::construct: ::ucbhelper::Content isn't a folde nor a document! How that?!");
+ OSL_FAIL("OConnection::construct: ::ucbhelper::Content isn't a folder nor a document! How that?!");
throw SQLException();
}
}
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx
index 6e3fc1518e27..06df0d6f19fe 100644
--- a/connectivity/source/drivers/firebird/Connection.cxx
+++ b/connectivity/source/drivers/firebird/Connection.cxx
@@ -196,7 +196,7 @@ void Connection::construct(const ::rtl::OUString& url, const Sequence< PropertyV
xFileAccess->writeFile(m_sFirebirdURL,xDBStream->getInputStream());
}
- // TOOO: Get DB properties from XML
+ // TODO: Get DB properties from XML
}
// External file AND/OR remote connection
diff --git a/connectivity/source/drivers/mork/MorkParser.hxx b/connectivity/source/drivers/mork/MorkParser.hxx
index 01d47e343962..ddb5f4ba0f20 100644
--- a/connectivity/source/drivers/mork/MorkParser.hxx
+++ b/connectivity/source/drivers/mork/MorkParser.hxx
@@ -160,7 +160,7 @@ protected: // Data
int defaultListScope_;
int defaultTableId_;
- // Indicates intity is being parsed
+ // Indicates entity is being parsed
enum { NPColumns, NPValues, NPRows } nowParsing_;
private:
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
index 5c1814f0b3fb..912516344715 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx
@@ -547,7 +547,7 @@ sal_Bool MDatabaseMetaDataHelper::getTableStrings( OConnection*
m_bProfileExists = sal_False;
//If there are no profiles for this product
//Or the given profile name does not found
- //We will reaise a "No Addressbook Directories Exist" error
+ //We will raise a "No Addressbook Directories Exist" error
if ( xMozillaBootstrap->getProfileCount(m_ProductType) == 0 ||
( !m_ProfileName.isEmpty() && xMozillaBootstrap->getProfilePath(m_ProductType,m_ProfileName).isEmpty()))
m_bProfileExists = sal_False;
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
index 797575818056..b1190dbeaa53 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
@@ -431,7 +431,7 @@ sal_Int32 MQuery::executeQueryProxied(OConnection* _pCon)
return -1;
- //insert ldap bind info to mozilla profile(in memery,none saved),so we can use it in mozilla part codes
+ //insert ldap bind info to mozilla profile(in memory, none saved), so we can use it in mozilla part codes
if (_pCon->isLDAP())
{
rv = InsertLoginInfo(_pCon);
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 41c9558e909c..10186778d3c5 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -170,7 +170,7 @@ sal_Bool DatabaseMetaData::nullsAreSortedHigh( ) throw (SQLException, RuntimeEx
{
// Whether NULL values are considered, for sorting purposes, LARGER than any other value.
// Specification: http://download.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html#nullsAreSortedHigh()
- // PostgreSQL behaviour: http://www.postgresql.org/docs/9.1/static/queries-order.htlm
+ // PostgreSQL behaviour: http://www.postgresql.org/docs/9.1/static/queries-order.html
return sal_True;
}
diff --git a/connectivity/source/drivers/postgresql/pq_resultset.cxx b/connectivity/source/drivers/postgresql/pq_resultset.cxx
index 950369aac9b8..f17cef835516 100644
--- a/connectivity/source/drivers/postgresql/pq_resultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_resultset.cxx
@@ -162,7 +162,7 @@ sal_Int32 ResultSet::findColumn( const OUString& columnName )
checkClosed();
sal_Int32 res = PQfnumber( m_result,
OUStringToOString( columnName, (*m_ppSettings)->encoding ).getStr());
- /* PQfnumber reurn -1 for not found, which is what we want
+ /* PQfnumber return -1 for not found, which is what we want
* other than that we use col number as 1-based not 0-based */
if(res >= 0)
{