summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-05-04 10:34:36 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-05-05 23:35:06 +0200
commita940826162dc93f5543f81fc8fe5d8618c4a6efb (patch)
treedf64a2f1cda70234e4f77d7d86cf5ccc9c88b99f /sw
parent942f50e7d379ba5137f4a64d39bd06d6decad9e8 (diff)
Fix typos
To complete commit 0ef94e2b559547bc4e906e7f24e57ff5d642e108 and f12096272e684ddcd8ffa4e34dcb0a680cc594c2 Change-Id: Ie86bbfbd58dd728a013bef221e4d5c8fbcaf8e03 Reviewed-on: https://gerrit.libreoffice.org/37199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/crsrsh.hxx2
-rw-r--r--sw/inc/ndhints.hxx2
-rw-r--r--sw/source/core/frmedt/fedesc.cxx2
-rw-r--r--sw/source/core/unocore/unofield.cxx2
-rw-r--r--sw/source/core/view/viewsh.cxx2
-rw-r--r--sw/source/filter/html/css1atr.cxx2
-rw-r--r--sw/source/filter/html/svxcss1.cxx2
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx2
-rw-r--r--sw/source/uibase/app/docsh2.cxx2
9 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 7c5a8dff88dc..e67f91263e37 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -476,7 +476,7 @@ public:
void SetFlyMacroLnk( const Link<const SwFlyFrameFormat*,void>& rLnk ) { m_aFlyMacroLnk = rLnk; }
const Link<const SwFlyFrameFormat*,void>& GetFlyMacroLnk() const { return m_aFlyMacroLnk; }
- // Methods returning/altering link for changes of attributes/formates.
+ // Methods returning/altering link for changes of attributes/formats.
void SetChgLnk( const Link<SwCursorShell*,void> &rLnk ) { m_aChgLnk = rLnk; }
const Link<SwCursorShell*,void>& GetChgLnk() const { return m_aChgLnk; }
diff --git a/sw/inc/ndhints.hxx b/sw/inc/ndhints.hxx
index 6643a6a920c3..ec712316751e 100644
--- a/sw/inc/ndhints.hxx
+++ b/sw/inc/ndhints.hxx
@@ -94,7 +94,7 @@ private:
bool m_bFootnote : 1; ///< footnotes
bool m_bDDEFields : 1; ///< the TextNode has DDE fields
- /// records a new attibute in m_pHistory.
+ /// records a new attribute in m_pHistory.
void NoteInHistory( SwTextAttr *pAttr, const bool bNew = false );
void CalcFlags( );
diff --git a/sw/source/core/frmedt/fedesc.cxx b/sw/source/core/frmedt/fedesc.cxx
index 8aad55a77e12..2e0b5b22ead2 100644
--- a/sw/source/core/frmedt/fedesc.cxx
+++ b/sw/source/core/frmedt/fedesc.cxx
@@ -41,7 +41,7 @@ size_t SwFEShell::GetPageDescCnt() const
void SwFEShell::ChgCurPageDesc( const SwPageDesc& rDesc )
{
#if OSL_DEBUG_LEVEL > 0
- // SS does not change PageDesc, but only sets the attibute.
+ // SS does not change PageDesc, but only sets the attribute.
// The Pagedesc should be available in the document
bool bFound = false;
for ( size_t nTst = 0; nTst < GetPageDescCnt(); ++nTst )
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index c6876dfbccc7..878941fc22dd 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -3014,7 +3014,7 @@ uno::Any SAL_CALL SwXFieldEnumeration::nextElement()
m_pImpl->m_Items[ m_pImpl->m_nNextIndex++ ];
uno::Any aRet;
aRet <<= rxField;
- rxField = nullptr; // free memory for item that is not longer used
+ rxField = nullptr; // free memory for item that is no longer used
return aRet;
}
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 440315a3ef4d..52d625644324 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -2055,7 +2055,7 @@ void SwViewShell::ApplyViewOptions( const SwViewOption &rOpt )
ImplApplyViewOptions( rOpt );
- // With one layout per view it is not longer necessary
+ // With one layout per view it is no longer necessary
// to sync these "layout related" view options
// But as long as we have to disable "multiple layout"
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index c67fcb8ec292..bb80e234df7d 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -1590,7 +1590,7 @@ static Writer& OutCSS1_SwFormat( Writer& rWrt, const SwFormat& rFormat,
RES_POOLCHR_INET_VISIT==nRefPoolId) )
bCheckForPseudo = true;
- // export now the Attributes (incl. Selektor)
+ // export now the Attributes (incl. selector)
bool bHasScriptDependencies = false;
if( OutCSS1Rule( rHTMLWrt, aSelector, aItemSet, CSS1_FMT_ISTAG != nDeep,
bCheckForPseudo ) )
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index 9910b534e074..6c2c1d1d1fbc 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -729,7 +729,7 @@ SvxCSS1Parser::SvxCSS1Parser( SfxItemPool& rPool, const OUString& rBaseURL,
nScriptFlags( Css1ScriptFlags::AllMask ),
bIgnoreFontFamily( false )
{
- // also initialiase item IDs
+ // also initialize item IDs
aItemIds.nFont = rPool.GetTrueWhich( SID_ATTR_CHAR_FONT, false );
aItemIds.nFontCJK = rPool.GetTrueWhich( SID_ATTR_CHAR_CJK_FONT, false );
aItemIds.nFontCTL = rPool.GetTrueWhich( SID_ATTR_CHAR_CTL_FONT, false );
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index a8ea66c5d50d..6a0916eabf16 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -1365,7 +1365,7 @@ bool SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties( sal_Int32 nEnd ) cons
if (pStart->nContent.GetIndex() == 0)
{
// This condition detects if the pseudo-char we will export
- // should be implictly excluded by the redlining char
+ // should be implicitly excluded by the redlining char
// properties starting on the next node.
return true;
}
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx
index e40383849f63..12356405b8b3 100644
--- a/sw/source/uibase/app/docsh2.cxx
+++ b/sw/source/uibase/app/docsh2.cxx
@@ -1390,7 +1390,7 @@ void SwDocShell::ReloadFromHtml( const OUString& rStreamName, SwSrcView* pSrcVie
rWrtSh.InvalidateLayout( true );
}
- // Take HTTP-Header-Attibutes over into the DokInfo again.
+ // Take HTTP-Header-Attributes over into the DocInfo again.
// The Base-URL doesn't matter here because TLX uses the one from the document
// for absolutization.
SetHeaderAttributesForSourceViewHack();