summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 12:52:02 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 12:25:17 +0000
commit25e0872da600c65a08c73c335f0e1ef21b2f00f5 (patch)
tree17bb46a39c838c5932ca7ca6b3d4fa3c19488583
parent7f56e58148602f75b7b5ccccf1860dc65c4620d0 (diff)
Fix typos
Change-Id: I4eda687db6ad8d41e6a28430c76b288510da605d Reviewed-on: https://gerrit.libreoffice.org/35645 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--solenv/bin/concat-deps.c6
-rw-r--r--solenv/doc/gbuild/solenv/gbuild/gbuild.mk4
-rw-r--r--solenv/gbuild/gbuild.mk4
-rw-r--r--starmath/inc/cursor.hxx2
-rw-r--r--starmath/source/cursor.cxx2
-rw-r--r--starmath/source/mathmlimport.cxx2
-rw-r--r--starmath/source/mathtype.cxx2
-rw-r--r--stoc/source/implementationregistration/implreg.cxx2
-rw-r--r--stoc/source/security/access_controller.cxx2
-rw-r--r--svl/source/items/poolio.cxx2
-rw-r--r--svl/source/notify/lstner.cxx2
-rw-r--r--svl/source/numbers/zformat.cxx2
-rw-r--r--svtools/source/control/ruler.cxx2
-rw-r--r--svtools/source/misc/templatefoldercache.cxx2
-rw-r--r--svtools/source/table/defaultinputhandler.cxx2
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx4
16 files changed, 21 insertions, 21 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 32e4f10ee4e0..88144465eda7 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -263,7 +263,7 @@ void* data;
}
else
{
- /* re-used old freed element by chopipng the head of the free list */
+ /* re-used old freed element by chopping the head of the free list */
pool->head_free = *(void**)data;
}
@@ -389,9 +389,9 @@ static unsigned int hash_compute( struct hash* hash, const char* key, int length
* but we mask the undefined stuff if any, so we are still good, thanks
* to alignment of memory allocation and tail-memory management overhead
* we always can read 3 bytes past the official end without triggering
- * a segfault -- if you find a platform/compiler couple for which that postulat
+ * a segfault -- if you find a platform/compiler couple for which that postulate
* is false, then you just need to over-allocate by 2 more bytes in file_load()
- * file_load already over-allocate by 1 to sitck a \0 at the end of the buffer.
+ * file_load already over-allocate by 1 to stick a \0 at the end of the buffer.
*/
switch(length)
{
diff --git a/solenv/doc/gbuild/solenv/gbuild/gbuild.mk b/solenv/doc/gbuild/solenv/gbuild/gbuild.mk
index 9cdb064a974c..55ef76cdc05f 100644
--- a/solenv/doc/gbuild/solenv/gbuild/gbuild.mk
+++ b/solenv/doc/gbuild/solenv/gbuild/gbuild.mk
@@ -70,11 +70,11 @@ namespace gb
static const List<String> CPUDEFS;
/// default c++ compilation compiler flags
static const List<String> CXXFLAGS;
- /// platform- and compilerin dependent default defines
+ /// platform- and compiler independent default defines
static const List<String> GLOBALDEFS;
/// default objective c++ compilation compiler flags
static const List<String> OBJCXXFLAGS;
- /// platfomspecific default defines
+ /// platformspecific default defines
static const List<String> OSDEFS;
/// ?
static const Path SDKDIR;
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index 05f1bd21e256..46d0761e7316 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -256,11 +256,11 @@ $(eval $(call gb_Deliver_init))
# TODO: to what extent is the following still true?
# It is important to include them in the right order as that is
# -- at least in part -- defining precedence. This is not an issue in the
-# WORKDIR as there are no nameing collisions there, but INSTDIR is a mess
+# WORKDIR as there are no naming collisions there, but INSTDIR is a mess
# and precedence is important there. This is also platform dependent.
#
# This is less of an issue with GNU Make versions > 3.82 which matches for
-# shortest stem instead of first match. However, upon intoduction this version
+# shortest stem instead of first match. However, upon introduction this version
# is not available everywhere by default.
include $(foreach class, \
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx
index 9be0b244e1d2..39502ff9dfc5 100644
--- a/starmath/inc/cursor.hxx
+++ b/starmath/inc/cursor.hxx
@@ -184,7 +184,7 @@ public:
*
* This method is used for implementing backspace and delete.
* If one of these causes a complex selection, e.g. a node with
- * subnodes or similar, this should not be deleted imidiately.
+ * subnodes or similar, this should not be deleted immediately.
*/
bool HasComplexSelection();
diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx
index 4560d40e221c..86c345d28935 100644
--- a/starmath/source/cursor.cxx
+++ b/starmath/source/cursor.cxx
@@ -857,7 +857,7 @@ bool SmCursor::InsertRow() {
//Finish editing
FinishEdit(pLineList, pLineParent, nParentIndex, PosAfterInsert);
- //FinishEdit is actually used to handle siturations where parent is an instance of
+ //FinishEdit is actually used to handle situations where parent is an instance of
//SmSubSupNode. In this case parent should always be a table or matrix, however, for
//code reuse we just use FinishEdit() here too.
return true;
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index 1fcbb327734d..a23397558594 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -2675,7 +2675,7 @@ void SmXMLTableContext_Impl::EndElement()
//be elements that were not inside a <mtd> pair, in which
//case they will not be in a row, i.e. they will not have
//SubNodes, so we have to wait until here before we can
- //resolve the situation. Implicitsurrounding tags are
+ //resolve the situation. Implicit surrounding tags are
//surprisingly difficult to get right within this
//architecture
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 791dc9bd1583..e9fe0cee8a87 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -1764,7 +1764,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
}
/*Simply determine if we are at the end of a record or the end of a line,
- *with fiddley logic to see if we are in a matrix or a pile or neither
+ *with fiddly logic to see if we are in a matrix or a pile or neither
Note we cannot tell until after the event that this is the last entry
of a pile, so we must strip the last separator of a pile after this
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index c9cc5a106d10..d32de8ff99d6 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -1407,7 +1407,7 @@ void ImplementationRegistration::prepareRegister(
} else
{
// check locationUrl to find out what kind of loader is needed
- // set iimplLoaderUrl
+ // set implLoaderUrl
}
if( m_xSMgr.is() ) {
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index 813daffa1f46..6772d2ba2a8a 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -383,7 +383,7 @@ AccessController::AccessController( Reference< XComponentContext > const & xComp
}
}
- // switch on caching for DYNAMIC_ONLY and ON (sharable multi-user process)
+ // switch on caching for DYNAMIC_ONLY and ON (shareable multi-user process)
if (ON == m_mode || DYNAMIC_ONLY == m_mode)
{
sal_Int32 cacheSize = 0; // multi-user cache size
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index 24a18e1889a2..709e4808e2cd 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -812,7 +812,7 @@ const SfxPoolItem* SfxItemPool::LoadSurrogate
if ( !bResolvable )
{
// If the pool in the stream has a different structure, the SlotId
- // from the stream must be mapable to a WhichId
+ // from the stream must be mappable to a WhichId
sal_uInt16 nMappedWhich = nSlotId ? GetWhich(nSlotId) : 0;
if ( IsWhich(nMappedWhich) )
{
diff --git a/svl/source/notify/lstner.cxx b/svl/source/notify/lstner.cxx
index 8c3bdfb58e76..070cc9edf04d 100644
--- a/svl/source/notify/lstner.cxx
+++ b/svl/source/notify/lstner.cxx
@@ -109,7 +109,7 @@ void SfxListener::EndListening( SfxBroadcaster& rBroadcaster, bool bAllDups )
void SfxListener::EndListeningAll()
{
- // Attention: when optimizing this: Respect sideffects of RemoveListener!
+ // Attention: when optimizing this: respect side effects of RemoveListener!
while ( !mpImpl->maBCs.empty() )
{
SfxBroadcaster *pBC = mpImpl->maBCs.front();
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 62ae5b7d95da..3b85e192adfa 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -780,7 +780,7 @@ OUString SvNumberformat::ImpObtainCalendarAndNumerals( OUStringBuffer& rString,
// [NatNum1] simple numerals
// [natNum2] financial numerals
// [NatNum3] Arabic fullwidth numerals
- // Chine simplified and Chinese traditional have same primary mask
+ // Chinese simplified and Chinese traditional have same primary mask
// Chinese-PRC
if ( nReferenceLanguage == LANGUAGE_CHINESE_SIMPLIFIED
&& nLocaleLang != LANGUAGE_CHINESE_SIMPLIFIED
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index b8a027a8949e..81e0bf46863f 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -2265,7 +2265,7 @@ void Ruler::Activate()
{
mbActive = true;
- // update positionlies - draw is delayed
+ // update positionlines - draw is delayed
mnUpdateFlags |= RULER_UPDATE_LINES;
Invalidate(InvalidateFlags::NoErase);
}
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index c8df77d51058..c2a1dee516ad 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -673,7 +673,7 @@ namespace svt
// their number
sal_Int32 nRootDirectories = 0;
m_pCacheStream->ReadInt32( nRootDirectories );
- // init empty TemplateContens with the URLs
+ // init empty TemplateContents with the URLs
m_aPreviousState.reserve( nRootDirectories );
while ( nRootDirectories-- )
{
diff --git a/svtools/source/table/defaultinputhandler.cxx b/svtools/source/table/defaultinputhandler.cxx
index 5a81bedcec80..a50ca4685da6 100644
--- a/svtools/source/table/defaultinputhandler.cxx
+++ b/svtools/source/table/defaultinputhandler.cxx
@@ -104,7 +104,7 @@ namespace svt { namespace table
break;
case ContinueFunction:
case DeactivateFunction:
- OSL_ENSURE( false, "lcl_delegateMouseEvent: unexpected: inactivate handler cannot be continued or deactivated!" );
+ OSL_ENSURE( false, "lcl_delegateMouseEvent: unexpected: inactive handler cannot be continued or deactivated!" );
break;
case SkipFunction:
handled = false;
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
index 16e711e4b39b..fef8a6e09066 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -751,7 +751,7 @@ namespace svt { namespace table
OSL_ENSURE( flexibility >= 0, "TableControl_Impl::impl_ni_calculateColumnWidths: a column's flexibility should be non-negative." );
if ( ( flexibility < 0 ) // normalization
|| ( !pColumn->isResizable() ) // column not resizable => no auto-resize
- || ( col <= i_assumeInflexibleColumnsUpToIncluding ) // column shall be treated as inflexible => respec this
+ || ( col <= i_assumeInflexibleColumnsUpToIncluding ) // column shall be treated as inflexible => respect this
)
flexibility = 0;
@@ -1262,7 +1262,7 @@ namespace svt { namespace table
Rectangle const aRect = aRowIterator.getRect().GetIntersection(aAllDataCellsArea);
- // give the redenderer a chance to prepare the row
+ // give the renderer a chance to prepare the row
pRenderer->PrepareRow(aRowIterator.getRow(), isControlFocused, isSelectedRow, rRenderContext, aRect, rStyle);
// paint the row header