From ce343470c385dc8390bbc4bf3e85457c1d55e0ec Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 17:46:36 +0200 Subject: Fix typos Change-Id: Iaff7e38dd5beac48e1643e369e4240aa736c35ea Reviewed-on: https://gerrit.libreoffice.org/18941 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- connectivity/source/commontools/parameters.cxx | 2 +- connectivity/source/cpool/ZConnectionPool.hxx | 2 +- connectivity/source/drivers/dbase/DTable.cxx | 2 +- connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx | 2 +- connectivity/source/drivers/file/FResultSet.cxx | 4 ++-- connectivity/source/drivers/file/quotedstring.cxx | 4 ++-- connectivity/source/drivers/macab/MacabRecords.cxx | 4 ++-- connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx | 2 +- .../source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index 06f16ac94e30..20fce17e255c 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -277,7 +277,7 @@ namespace dbtools bool bValidLink = true; // is there an inner parameter with this name? That is, a parameter which is already part of - // the very original statement (not the one we create ourselve, with the additional parameters) + // the very original statement (not the one we create ourselves, with the additional parameters) ParameterInformation::iterator aPos = m_aParameterInformation.find( *pDetailFields ); if ( aPos != m_aParameterInformation.end() ) { // there is an inner parameter with this name diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx index 6b85b6414700..0eec500d0237 100644 --- a/connectivity/source/cpool/ZConnectionPool.hxx +++ b/connectivity/source/cpool/ZConnectionPool.hxx @@ -61,7 +61,7 @@ namespace connectivity typedef ::cppu::WeakImplHelper< ::com::sun::star::beans::XPropertyChangeListener> OConnectionPool_Base; - // typedef for the interanl structure + // typedef for the internal structure typedef ::std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPooledConnection> > TPooledConnections; // contains the currently pooled connections diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 6fd3ba78d96d..bc3d46b046e5 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -547,7 +547,7 @@ void ODbaseTable::construct() if (m_pMemoStream) { - // set the buffer extactly to the length of a record + // set the buffer exactly to the length of a record m_pMemoStream->Seek(STREAM_SEEK_TO_END); nFileSize = m_pMemoStream->Tell(); m_pMemoStream->Seek(STREAM_SEEK_TO_BEGIN); diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx index 96d0450e0ded..e510395ad335 100644 --- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx +++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx @@ -994,7 +994,7 @@ sal_Bool SAL_CALL OEvoabDatabaseMetaData::supportsBatchUpdates( ) throw(SQLExce Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTableTypes( ) throw(SQLException, RuntimeException, std::exception) { - /* Dont need to change as evoab driver supports only table */ + /* Don't need to change as evoab driver supports only table */ // there exists no possibility to get table types so we have to check static const OUString sTableTypes[] = diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx index 6b7bac4b9bc9..682d42b26c7d 100644 --- a/connectivity/source/drivers/file/FResultSet.cxx +++ b/connectivity/source/drivers/file/FResultSet.cxx @@ -788,8 +788,8 @@ bool OResultSet::ExecuteRow(IResultSetHelper::Movement eFirstCursorPosition, bool bHasRestriction = m_pSQLAnalyzer->hasRestriction(); again: - // protect from reading over the end when someboby is inserting while we are reading - // this method works only for dBase at the moment !!!! + // protect from reading over the end when somebody is inserting while we are reading + // this method works only for dBase at the moment!!! if (eCursorPosition == IResultSetHelper::NEXT && m_nFilePos == m_nLastVisitedPos) { return false; diff --git a/connectivity/source/drivers/file/quotedstring.cxx b/connectivity/source/drivers/file/quotedstring.cxx index c5fffb1f949e..8a859c5b9a57 100644 --- a/connectivity/source/drivers/file/quotedstring.cxx +++ b/connectivity/source/drivers/file/quotedstring.cxx @@ -50,12 +50,12 @@ namespace connectivity if (bInString) { - // when now the String-Delimiter-character occurs ... + // when now the String-Delimiter-character occurs... if ( cChar == cStrDel ) { if ((i+1 < nLen) && (m_sString[i+1] == cStrDel)) { - // double String-Delimter-character: + // double String-Delimiter-character: ++i; // no string-end, skip next character. } else diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx index 0423a2c3bd14..7923ccb16142 100644 --- a/connectivity/source/drivers/macab/MacabRecords.cxx +++ b/connectivity/source/drivers/macab/MacabRecords.cxx @@ -90,7 +90,7 @@ MacabRecords::MacabRecords(const ABAddressBookRef _addressBook, MacabHeader *_he * The idea is that the only reason to copy a MacabRecords is to create * a filtered version of it, which can have the same length (to avoid * resizing) and will work from the same base addressbook, but might have - * entirey different values and even (possibly in the future) a different + * entirely different values and even (possibly in the future) a different * header. */ MacabRecords::MacabRecords(const MacabRecords *_copy) @@ -435,7 +435,7 @@ MacabHeader *MacabRecords::createHeaderForRecordType(const CFArrayRef _records, } } - // Somehow, we got too many or too few non-requird properties... + // Somehow, we got too many or too few non-required properties... // Most likely, one of the required properties no longer exists, which // we also test later. OSL_ENSURE(k == numNonRequiredProperties, "MacabRecords::createHeaderForRecordType: Found an unexpected number of non-required properties"); diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx index 1e5e0c4cf00a..5480699abb50 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx @@ -76,7 +76,7 @@ namespace connectivity OUString ProfileManager::setCurrentProfile( ::com::sun::star::mozilla::MozillaProductType product, const OUString& profileName ) throw (::com::sun::star::uno::RuntimeException) { OUString currentProfile = getCurrentProfile(); - //if profileName not given, then skip and return curernt profile + //if profileName not given, then skip and return current profile if (profileName.isEmpty() && m_CurrentProduct == product) return currentProfile; diff --git a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx index 7b826e09058d..c3ac8f6a25f2 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx @@ -136,7 +136,7 @@ static nsresult insertPABDescription() // mozilla loads the descriptions of pab and history from a file named addressbook.properties // we never deliver it with OOo,so mozab does not auto load personal addressbook and Collected addresses // If we want to deliver addressbook.properties with OOo,we have to deal with hole mozilla chrome mechanism. - // So I insert the descriptiones as user prefes,they will cover the default value. + // So I insert the descriptiones as user prefs, they will cover the default value. //"Personal Address Book" "Collected Addresses" are loaded from officecfg nsCOMPtr prefs = do_GetService(NS_PREF_CONTRACTID, &rv); -- cgit