summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:46:36 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 06:00:18 +0000
commitce343470c385dc8390bbc4bf3e85457c1d55e0ec (patch)
tree79ec49cc25fbc427b668bc56314a082551f1a263
parent9e4c87be31732ed076a059128d2e20451697d225 (diff)
Fix typos
Change-Id: Iaff7e38dd5beac48e1643e369e4240aa736c35ea Reviewed-on: https://gerrit.libreoffice.org/18941 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
-rw-r--r--cli_ure/source/climaker/climaker_emit.cxx6
-rw-r--r--comphelper/source/container/embeddedobjectcontainer.cxx2
-rw-r--r--compilerplugins/clang/bodynotinblock.cxx2
-rw-r--r--compilerplugins/clang/simplifybool.cxx2
-rw-r--r--config_host/config_features.h.in18
-rw-r--r--configure.ac2
-rw-r--r--connectivity/source/commontools/parameters.cxx2
-rw-r--r--connectivity/source/cpool/ZConnectionPool.hxx2
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx2
-rw-r--r--connectivity/source/drivers/file/FResultSet.cxx4
-rw-r--r--connectivity/source/drivers/file/quotedstring.cxx4
-rw-r--r--connectivity/source/drivers/macab/MacabRecords.cxx4
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.cxx2
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx2
15 files changed, 28 insertions, 28 deletions
diff --git a/cli_ure/source/climaker/climaker_emit.cxx b/cli_ure/source/climaker/climaker_emit.cxx
index 51bed9ab4ac0..2ba5c62aa5af 100644
--- a/cli_ure/source/climaker/climaker_emit.cxx
+++ b/cli_ure/source/climaker/climaker_emit.cxx
@@ -1369,7 +1369,7 @@ Assembly ^ TypeEmitter::type_resolve(
code->Emit( Emit::OpCodes::Ldarg_0 );
code->Emit(
Emit::OpCodes::Newobj,
- //GetConstructor requies that the member types of the object which is to be constructed are already known.
+ //GetConstructor requires that the member types of the object which is to be constructed are already known.
field_type->GetConstructor(
gcnew array< ::System::Type^> ( 0 ) ) );
code->Emit( Emit::OpCodes::Stfld, field );
@@ -1638,7 +1638,7 @@ Assembly ^ TypeEmitter::type_resolve(
//We create a try/ catch around the createInstanceWithContext, etc. functions
//There are 3 cases
- //1. function do not specify exceptions. Then RuntimeExceptions are retrhown and other
+ //1. function do not specify exceptions. Then RuntimeExceptions are re-thrown and other
// exceptions produce a DeploymentException.
//2. function specify Exception. Then all exceptions fly through
//3. function specifies exceptions but no Exception. Then these are rethrown
@@ -1829,7 +1829,7 @@ Assembly ^ TypeEmitter::type_resolve(
//catch (unoidl.com.sun.star.uno.Exception) {throw DeploymentException...}
ilGen->BeginCatchBlock(type_uno_exception);
- //Define the local variabe that keeps the exception
+ //Define the local variable that keeps the exception
Emit::LocalBuilder ^ local_exception = ilGen->DeclareLocal(
type_uno_exception);
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 2dbbe7ae9796..caa2d251b124 100644
--- a/comphelper/source/container/embeddedobjectcontainer.cxx
+++ b/comphelper/source/container/embeddedobjectcontainer.cxx
@@ -1479,7 +1479,7 @@ bool EmbeddedObjectContainer::StoreChildren(bool _bOasisFormat,bool _bObjectsOnl
//TODO/LATER: only storing if changed!
//xPersist->storeOwn(); //commented, i120168
- // begin:all charts will be persited as xml format on disk when saving, which is time consuming.
+ // begin:all charts will be persisted as xml format on disk when saving, which is time consuming.
// '_bObjectsOnly' mean we are storing to alien formats.
// 'isStorageElement' mean current object is NOT an MS OLE format. (may also include in future), i120168
if (_bObjectsOnly && (nCurState == embed::EmbedStates::LOADED || nCurState == embed::EmbedStates::RUNNING)
diff --git a/compilerplugins/clang/bodynotinblock.cxx b/compilerplugins/clang/bodynotinblock.cxx
index 210aa36e051a..ca4f904992c8 100644
--- a/compilerplugins/clang/bodynotinblock.cxx
+++ b/compilerplugins/clang/bodynotinblock.cxx
@@ -78,7 +78,7 @@ void BodyNotInBlock::checkBody( const Stmt* body, SourceLocation stmtLocation, i
return;
// TODO: If the if/else/while/for comes from a macro expansion, ignore it completely for
// now. The code below could assume everything is in the same place (and thus also column)
- // and give a false warning. Moreover some macros are rather lousily written and would
+ // and give a false warning. Moreover some macros are rather loosely written and would
// result in poor formatting. To be evaluated later, maybe this could be handled
// including macro expansion.
if( stmtLocation.isMacroID())
diff --git a/compilerplugins/clang/simplifybool.cxx b/compilerplugins/clang/simplifybool.cxx
index 9f82660dd29f..d70751fb54eb 100644
--- a/compilerplugins/clang/simplifybool.cxx
+++ b/compilerplugins/clang/simplifybool.cxx
@@ -33,7 +33,7 @@ enum class Value { Unknown, False, True };
Value getValue(Expr const * expr) {
expr = ignoreParenImpCastAndComma(expr);
if (expr->getType()->isBooleanType()) {
- // Instead going via Expr::isCXX11ConstantExpr would turn up excatly one
+ // Instead going via Expr::isCXX11ConstantExpr would turn up exactly one
// additional place in svx/source/dialog/framelinkarray.cxx
//
// const bool DIAG_DBL_CLIP_DEFAULT = false;
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in
index 06e4e75c6b1a..77fea97e4450 100644
--- a/config_host/config_features.h.in
+++ b/config_host/config_features.h.in
@@ -18,7 +18,7 @@
/* DESKTOP - Whether we have a "normal" desktop UI or not.
*
* Non-DESKTOP in practice means touch-based mobile devices, Android
- * or iOS for now. Support for those is work in pogress.
+ * or iOS for now. Support for those is work in progress.
*
* Non-DESKTOP implies that the OS makes sure that only one instance
* of each LibreOffice-based "app" at a time can be running, and thus
@@ -95,15 +95,15 @@
#define HAVE_FEATURE_OPENCL 0
-/*
- * Whether the OS has Avahi support,
+/*
+ * Whether the OS has Avahi support,
* This library is used for zeroconf service publication on the local network
- * for the Impress remote control, so that the remote can automatically
- * discover the running libO instance and its IP address.
- *
- * This library should be present on most mordern linux distributions
- * but not on "all" of them. For now, you should add --enable-avahi for
- * this to be taken into account. Otherwise the test of its presence
+ * for the Impress remote control, so that the remote can automatically
+ * discover the running libO instance and its IP address.
+ *
+ * This library should be present on most modern linux distributions
+ * but not on "all" of them. For now, you should add --enable-avahi for
+ * this to be taken into account. Otherwise the test of its presence
* will not take place.
*/
diff --git a/configure.ac b/configure.ac
index 1389a6d5913e..a84772b6932b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2889,7 +2889,7 @@ if test $_os = Darwin; then
AC_MSG_CHECKING([that macosx-version-max-allowed is coherent with macos-with-sdk])
if test $MAC_OS_X_VERSION_MAX_ALLOWED -gt $MACOSX_SDK_VERSION; then
- AC_MSG_ERROR([the version maximum allowed cannot be greater thatn the sdk level])
+ AC_MSG_ERROR([the version maximum allowed cannot be greater than the sdk level])
else
AC_MSG_RESULT([ok])
fi
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<nsIPref> prefs = do_GetService(NS_PREF_CONTRACTID, &rv);