summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-05 18:50:09 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-06 09:24:07 +0200
commit39214c54efbefb1d78754ad14f936882c326a482 (patch)
tree3ede90b6c7cb8d156f41fd1849e33b433050fc1d /connectivity
parent22ef2a15bb5cae4b877449237bb8d3e41f2d49db (diff)
Typos
Mainly fixing '....' and '..' Change-Id: Ic928701b319868671b826d757dd94c296fd5e942 Reviewed-on: https://gerrit.libreoffice.org/78668 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/CommonTools.cxx4
-rw-r--r--connectivity/source/commontools/TPrivilegesResultSet.cxx2
-rw-r--r--connectivity/source/commontools/dbtools.cxx2
-rw-r--r--connectivity/source/commontools/parameters.cxx4
-rw-r--r--connectivity/source/commontools/paramwrapper.cxx2
-rw-r--r--connectivity/source/commontools/predicateinput.cxx4
-rw-r--r--connectivity/source/commontools/warningscontainer.cxx4
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx2
-rw-r--r--connectivity/source/drivers/file/FDatabaseMetaData.cxx4
-rw-r--r--connectivity/source/drivers/hsqldb/HTables.cxx2
-rw-r--r--connectivity/source/drivers/mysql_jdbc/YCatalog.cxx2
-rw-r--r--connectivity/source/drivers/mysql_jdbc/YTables.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_preparedstatement.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xtables.cxx2
-rw-r--r--connectivity/source/parse/sqliterator.cxx2
17 files changed, 22 insertions, 22 deletions
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index eb06c5551b67..615cfe6c582f 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -197,8 +197,8 @@ bool isValidSQLName(const OUString& rName,const OUString& _rSpecials)
)
return false;
// the SQL-Standard requires the first character to be an alphabetic character, which
- // isn't easy to decide in UniCode ...
- // So we just prohibit the characters which already lead to problems ....
+ // isn't easy to decide in UniCode...
+ // So we just prohibit the characters which already lead to problems...
// 11.04.00 - 74902 - FS
return true;
diff --git a/connectivity/source/commontools/TPrivilegesResultSet.cxx b/connectivity/source/commontools/TPrivilegesResultSet.cxx
index 6347e3e17d71..de255d3cb8c1 100644
--- a/connectivity/source/commontools/TPrivilegesResultSet.cxx
+++ b/connectivity/source/commontools/TPrivilegesResultSet.cxx
@@ -42,7 +42,7 @@ OResultSetPrivileges::OResultSetPrivileges( const Reference< XDatabaseMetaData>&
// we want all catalogues, all schemas, all tables
sTableTypes[0] = "VIEW";
sTableTypes[1] = "TABLE";
- sTableTypes[2] = "%"; // just to be sure to include anything else ....
+ sTableTypes[2] = "%"; // just to be sure to include anything else...
try
{
m_xTables = _rxMeta->getTables(catalog,schemaPattern,tableNamePattern,sTableTypes);
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index 75df94ec8ea1..514b026b26c9 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -1062,7 +1062,7 @@ try
bool bIsString = aEffectiveDefault.getValueType().getTypeClass() == TypeClass_STRING;
OSL_ENSURE(bIsString || aEffectiveDefault.getValueType().getTypeClass() == TypeClass_DOUBLE,
"TransferFormComponentProperties : invalid property type !");
- // The Effective-Properties should always be void or string or double ....
+ // The Effective-Properties should always be void or string or double...
if (hasProperty(sPropDefaultDate, xNewProps) && !bIsString)
{ // (to convert an OUString into a date will not always succeed, because it might be bound to a text-column,
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx
index 4502dbc0687e..3862ebf0ff08 100644
--- a/connectivity/source/commontools/parameters.cxx
+++ b/connectivity/source/commontools/parameters.cxx
@@ -479,10 +479,10 @@ namespace dbtools
if ( nAlreadyVisited == aParam.second.aInnerIndexes.size() )
continue;
- // need a wrapper for this .... the "inner parameters" as supplied by a result set don't have a "Value"
+ // need a wrapper for this... the "inner parameters" as supplied by a result set don't have a "Value"
// property, but the parameter listeners expect such a property. So we need an object "aggregating"
// xParam and supplying an additional property ("Value")
- // (it's no real aggregation of course ...)
+ // (it's no real aggregation of course...)
m_pOuterParameters->push_back( new param::ParameterWrapper( aParam.second.xComposerColumn, m_xInnerParamUpdate, aParam.second.aInnerIndexes ) );
}
diff --git a/connectivity/source/commontools/paramwrapper.cxx b/connectivity/source/commontools/paramwrapper.cxx
index aae53c2d2a0f..92c78e319276 100644
--- a/connectivity/source/commontools/paramwrapper.cxx
+++ b/connectivity/source/commontools/paramwrapper.cxx
@@ -194,7 +194,7 @@ namespace param
{
try
{
- // TODO : aParamType & nScale can be obtained within the constructor ....
+ // TODO : aParamType & nScale can be obtained within the constructor...
sal_Int32 nParamType = DataType::VARCHAR;
OSL_VERIFY( m_xDelegator->getPropertyValue("Type") >>= nParamType );
diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx
index 1c8812a8591c..7b9e1a1960ee 100644
--- a/connectivity/source/commontools/predicateinput.cxx
+++ b/connectivity/source/commontools/predicateinput.cxx
@@ -276,7 +276,7 @@ namespace dbtools
if ( _rxField.is() )
{
// The following is mostly stolen from the former implementation in the parameter dialog
- // (dbaccess/source/ui/dlg/paramdialog.cxx). I do not fully understand this .....
+ // (dbaccess/source/ui/dlg/paramdialog.cxx). I do not fully understand this...
OUString sError;
std::unique_ptr<OSQLParseNode> pParseNode = implPredicateTree( sError, _rPredicateValue, _rxField );
@@ -340,7 +340,7 @@ namespace dbtools
if ( _rxField.is() )
{
// The following is mostly stolen from the former implementation in the parameter dialog
- // (dbaccess/source/ui/dlg/paramdialog.cxx). I do not fully understand this .....
+ // (dbaccess/source/ui/dlg/paramdialog.cxx). I do not fully understand this...
OUString sError;
std::unique_ptr<OSQLParseNode> pParseNode = implPredicateTree( sError, _rPredicateValue, _rxField );
diff --git a/connectivity/source/commontools/warningscontainer.cxx b/connectivity/source/commontools/warningscontainer.cxx
index 65478f9c03ce..adb384be680d 100644
--- a/connectivity/source/commontools/warningscontainer.cxx
+++ b/connectivity/source/commontools/warningscontainer.cxx
@@ -42,8 +42,8 @@ namespace dbtools
_rChainLeft = _rChainRight;
else
{
- // to travel the chain by reference (and not by value), we need the getValue ...
- // looks like a hack, but the meaning of getValue is documented, and it's the only chance for reference-traveling ....
+ // to travel the chain by reference (and not by value), we need the getValue...
+ // looks like a hack, but the meaning of getValue is documented, and it's the only chance for reference-traveling...
OSL_ENSURE( SQLExceptionInfo( _rChainLeft ).isValid(),
"lcl_concatWarnings: invalid warnings chain (this will crash)!" );
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 681eb44a260d..9cfee8f0b8af 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -1427,7 +1427,7 @@ bool ODbaseTable::Drop_Static(const OUString& _sUrl, bool _bHasMemoFields, OColl
}
catch(const Exception&)
{
- // silently ignore this ....
+ // silently ignore this...
}
}
}
diff --git a/connectivity/source/drivers/file/FDatabaseMetaData.cxx b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
index 0caa53b3bf35..9bb1cfc920b7 100644
--- a/connectivity/source/drivers/file/FDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
@@ -126,7 +126,7 @@ namespace
if ( bCanAccess )
{
// here we have two contents whose URLs differ by case only.
- // Now let's check if both really refer to the same object ....
+ // Now let's check if both really refer to the same object...
Reference< XContent > xContent1 = aContent1.get();
Reference< XContent > xContent2 = aContent2.get();
OSL_ENSURE( xContent1.is() && xContent2.is(), "isCaseSensitiveParentFolder: invalid content interfaces!" );
@@ -140,7 +140,7 @@ namespace
comphelper::getProcessComponentContext() )->
compareContentIds( xID1, xID2 ) == 0 ) )
{
- // finally, we know that the folder is not case-sensitive ....
+ // finally, we know that the folder is not case-sensitive...
nIsCS = 0;
}
}
diff --git a/connectivity/source/drivers/hsqldb/HTables.cxx b/connectivity/source/drivers/hsqldb/HTables.cxx
index f47166e989d3..c2b13cfe79ca 100644
--- a/connectivity/source/drivers/hsqldb/HTables.cxx
+++ b/connectivity/source/drivers/hsqldb/HTables.cxx
@@ -53,7 +53,7 @@ sdbcx::ObjectType OTables::createObject(const OUString& _rName)
Sequence< OUString > sTableTypes(3);
sTableTypes[0] = "VIEW";
sTableTypes[1] = "TABLE";
- sTableTypes[2] = "%"; // just to be sure to include anything else ....
+ sTableTypes[2] = "%"; // just to be sure to include anything else...
Any aCatalog;
if ( !sCatalog.isEmpty() )
diff --git a/connectivity/source/drivers/mysql_jdbc/YCatalog.cxx b/connectivity/source/drivers/mysql_jdbc/YCatalog.cxx
index 7255642dadda..ad98bfa1a7fa 100644
--- a/connectivity/source/drivers/mysql_jdbc/YCatalog.cxx
+++ b/connectivity/source/drivers/mysql_jdbc/YCatalog.cxx
@@ -55,7 +55,7 @@ void OMySQLCatalog::refreshTables()
Sequence<OUString> sTableTypes(3);
sTableTypes[0] = "VIEW";
sTableTypes[1] = "TABLE";
- sTableTypes[2] = "%"; // just to be sure to include anything else ....
+ sTableTypes[2] = "%"; // just to be sure to include anything else...
refreshObjects(sTableTypes, aVector);
diff --git a/connectivity/source/drivers/mysql_jdbc/YTables.cxx b/connectivity/source/drivers/mysql_jdbc/YTables.cxx
index e65f510c700e..0ef8fff9033d 100644
--- a/connectivity/source/drivers/mysql_jdbc/YTables.cxx
+++ b/connectivity/source/drivers/mysql_jdbc/YTables.cxx
@@ -54,7 +54,7 @@ sdbcx::ObjectType OTables::createObject(const OUString& _rName)
Sequence<OUString> sTableTypes(3);
sTableTypes[0] = "VIEW";
sTableTypes[1] = "TABLE";
- sTableTypes[2] = "%"; // just to be sure to include anything else ....
+ sTableTypes[2] = "%"; // just to be sure to include anything else...
Any aCatalog;
if (!sCatalog.isEmpty())
diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
index 82f26a3be1b0..74254ebffd14 100644
--- a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
+++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
@@ -170,7 +170,7 @@ PreparedStatement::PreparedStatement(
int elements = 0;
for(const OString & str : m_splittedStatement)
{
- // ignore quoted strings ....
+ // ignore quoted strings...
if( ! isQuoted( str ) )
{
// the ':' cannot be the first or the last part of the
diff --git a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
index 110eb18e9a51..fd919583fb16 100644
--- a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
@@ -418,7 +418,7 @@ sal_Bool ResultSetMetaData::isWritable( sal_Int32 column )
sal_Bool ResultSetMetaData::isDefinitelyWritable( sal_Int32 column )
{
- return isWritable(column); // uhh, now it becomes really esoteric ....
+ return isWritable(column); // uhh, now it becomes really esoteric...
}
OUString ResultSetMetaData::getColumnServiceName( sal_Int32 )
{
diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx
index a60ed4b09879..188f69c06df5 100644
--- a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx
@@ -167,7 +167,7 @@ sal_Bool SequenceResultSetMetaData::isWritable( sal_Int32 column )
sal_Bool SequenceResultSetMetaData::isDefinitelyWritable( sal_Int32 column )
{
- return isWritable(column); // uhh, now it becomes really esoteric ....
+ return isWritable(column); // uhh, now it becomes really esoteric...
}
OUString SequenceResultSetMetaData::getColumnServiceName( sal_Int32 /* column */ )
{
diff --git a/connectivity/source/drivers/postgresql/pq_xtables.cxx b/connectivity/source/drivers/postgresql/pq_xtables.cxx
index 411cc917ea29..2c57e8f10551 100644
--- a/connectivity/source/drivers/postgresql/pq_xtables.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xtables.cxx
@@ -265,7 +265,7 @@ void Tables::appendByDescriptor(
// execute the creation !
transaction.executeUpdate( buf.makeStringAndClear() );
- // description ....
+ // description...
OUString description = extractStringProperty( descriptor, st.DESCRIPTION );
if( !description.isEmpty() )
{
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index 3be9ec8b570e..4cb00394faa3 100644
--- a/connectivity/source/parse/sqliterator.cxx
+++ b/connectivity/source/parse/sqliterator.cxx
@@ -267,7 +267,7 @@ namespace
Sequence< OUString > sTableTypes(3);
sTableTypes[0] = "VIEW";
sTableTypes[1] = "TABLE";
- sTableTypes[2] = s_sWildcard; // just to be sure to include anything else ....
+ sTableTypes[2] = s_sWildcard; // just to be sure to include anything else...
if ( _rxDBMeta.is() )
{