summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 08:53:41 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 16:17:21 +0000
commit7668d4e616dd37d3b335c43db897b64a7349047b (patch)
treef5463f30b8a6dfffe38785dbd59f36153b935aa0 /connectivity/source
parent402aa305b7e37c3d3e1432613f59c905933a97cd (diff)
Fix typos
Change-Id: I56e429ff1b8ee55ccb8df16002b509770762172c Reviewed-on: https://gerrit.libreoffice.org/35618 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/commontools/parameters.cxx2
-rw-r--r--connectivity/source/drivers/firebird/Connection.hxx2
-rw-r--r--connectivity/source/drivers/firebird/Tables.cxx2
-rw-r--r--connectivity/source/drivers/hsqldb/HTable.cxx2
-rw-r--r--connectivity/source/drivers/kab/KDEInit.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx2
-rw-r--r--connectivity/source/inc/ado/ADatabaseMetaData.hxx2
-rw-r--r--connectivity/source/inc/file/FNumericFunctions.hxx2
8 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx
index 2db8bb4e12a0..70e1883ff41f 100644
--- a/connectivity/source/commontools/parameters.cxx
+++ b/connectivity/source/commontools/parameters.cxx
@@ -250,7 +250,7 @@ namespace dbtools
return;
// we may need to strip any links which are invalid, so here go the containers
- // for temporarirly holding the new pairs
+ // for temporarily holding the new pairs
std::vector< OUString > aStrippedMasterFields;
std::vector< OUString > aStrippedDetailFields;
diff --git a/connectivity/source/drivers/firebird/Connection.hxx b/connectivity/source/drivers/firebird/Connection.hxx
index 5e5c321d3646..43bccf9ab8f8 100644
--- a/connectivity/source/drivers/firebird/Connection.hxx
+++ b/connectivity/source/drivers/firebird/Connection.hxx
@@ -162,7 +162,7 @@ namespace connectivity
/**
* Creates a new transaction with the desired parameters, if
* necessary discarding an existing transaction. This has to be done
- * anytime we change the transaction isolation, or autocommiting.
+ * anytime we change the transaction isolation, or autocommitting.
*
* @throws css::sdbc::SQLException
*/
diff --git a/connectivity/source/drivers/firebird/Tables.cxx b/connectivity/source/drivers/firebird/Tables.cxx
index bc21f08dac56..48313c60805b 100644
--- a/connectivity/source/drivers/firebird/Tables.cxx
+++ b/connectivity/source/drivers/firebird/Tables.cxx
@@ -98,7 +98,7 @@ OUString Tables::createStandardColumnPart(const Reference< XPropertySet >& xColP
aSql.append(" ");
aSql.append(sAutoIncrementValue);
}
- // AutoIncrementive "IDENTITY" is implizit "NOT NULL"
+ // AutoIncrement "IDENTITY" is implicitly "NOT NULL"
else if(::comphelper::getINT32(xColProp->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_ISNULLABLE))) == ColumnValue::NO_NULLS)
aSql.append(" NOT NULL");
diff --git a/connectivity/source/drivers/hsqldb/HTable.cxx b/connectivity/source/drivers/hsqldb/HTable.cxx
index af99e0e5b467..6ce97cd11b5e 100644
--- a/connectivity/source/drivers/hsqldb/HTable.cxx
+++ b/connectivity/source/drivers/hsqldb/HTable.cxx
@@ -183,7 +183,7 @@ void SAL_CALL OHSQLTable::alterColumnByName( const OUString& colName, const Refe
xProp->getPropertyValue(rProp.getNameByIndex(PROPERTY_ID_TYPENAME)) >>= sOldTypeName;
descriptor->getPropertyValue(rProp.getNameByIndex(PROPERTY_ID_TYPENAME))>>= sNewTypeName;
- // and precsions and scale
+ // and precision and scale
xProp->getPropertyValue(rProp.getNameByIndex(PROPERTY_ID_PRECISION)) >>= nOldPrec;
descriptor->getPropertyValue(rProp.getNameByIndex(PROPERTY_ID_PRECISION))>>= nNewPrec;
xProp->getPropertyValue(rProp.getNameByIndex(PROPERTY_ID_SCALE)) >>= nOldScale;
diff --git a/connectivity/source/drivers/kab/KDEInit.cxx b/connectivity/source/drivers/kab/KDEInit.cxx
index c5ace044937c..2d31339b6545 100644
--- a/connectivity/source/drivers/kab/KDEInit.cxx
+++ b/connectivity/source/drivers/kab/KDEInit.cxx
@@ -125,7 +125,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL shutdownKApplication()
has to be called, else the results are unpredictable.
@return
- <ul><li><code>0</code> if the KDE version is supportednon</li>
+ <ul><li><code>0</code> if the KDE version is not supported</li>
<li>a negative value if the version is too old</li>
<li>a positive value if the version is too new to know whether it works with this driver</li>
</ul>
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 43693302452d..eab6b50e0ace 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -106,7 +106,7 @@ namespace pq_sdbc_driver
// These are inherited from JDBC, and thus won't change anytime soon.
// Having them as pre-processor definitions allows to include them
// into compile-time strings (through STRINGIFY), which can be passed to ASCII_STR.
-// That is without resorting to horrendeous hacks in template meta-programming.
+// That is without resorting to horrendous hacks in template meta-programming.
#define KEYRULE_CASCADE 0
#define KEYRULE_RESTRICT 1
#define KEYRULE_SET_NULL 2
diff --git a/connectivity/source/inc/ado/ADatabaseMetaData.hxx b/connectivity/source/inc/ado/ADatabaseMetaData.hxx
index e8ebb65b844b..9acb10561e8b 100644
--- a/connectivity/source/inc/ado/ADatabaseMetaData.hxx
+++ b/connectivity/source/inc/ado/ADatabaseMetaData.hxx
@@ -52,7 +52,7 @@ namespace connectivity
bool isCapable(sal_uInt32 _nId);
OUString getLiteral(sal_uInt32 _nProperty);
- // get info out of propertyst
+ // get info out of properties
/// @throws css::sdbc::SQLException
/// @throws css::uno::RuntimeException
OUString getStringProperty(const OUString& _aProperty);
diff --git a/connectivity/source/inc/file/FNumericFunctions.hxx b/connectivity/source/inc/file/FNumericFunctions.hxx
index 79592c14b012..6d37df610e79 100644
--- a/connectivity/source/inc/file/FNumericFunctions.hxx
+++ b/connectivity/source/inc/file/FNumericFunctions.hxx
@@ -227,7 +227,7 @@ namespace connectivity
};
/** PI()
- Returns the value of PI. The default shown number of decimals is 5, but internally uses the full double precession for PI.
+ Returns the value of PI. The default shown number of decimals is 5, but internally uses the full double precision for PI.
> SELECT PI();
-> 3.141593