summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-16 18:21:52 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 09:42:38 -0500
commitc0463d0d5225cdb21e3a8aaac5eac0fb7d961b41 (patch)
treef682b62fcd3821663b12e46216b63aa8a5cbf306 /sw
parentf4d94eae4a8677a70d6b406ce26614e006ba8b66 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit ae150c6a5424d021ce5eb46dc9573f12a4d05445) Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport5.cxx2
-rw-r--r--sw/source/core/doc/docnew.cxx2
-rw-r--r--sw/source/core/doc/docsort.cxx2
-rw-r--r--sw/source/core/docnode/ndsect.cxx2
-rw-r--r--sw/source/filter/basflt/fltshell.cxx2
-rw-r--r--sw/source/filter/html/swhtml.cxx4
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.hxx2
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx2
-rw-r--r--sw/source/uibase/uiview/scroll.cxx2
9 files changed, 10 insertions, 10 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
index 7f1472fac131..e0db7660a874 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
@@ -450,7 +450,7 @@ DECLARE_OOXMLEXPORT_TEST(testfdo78882, "fdo78882.docx")
DECLARE_OOXMLEXPORT_TEST(testfdo76934, "fdo76934.docx")
{
- /* Issue was, AuoSpacing property if present inside styles.xml, LO was not able to
+ /* Issue was, AutoSpacing property if present inside styles.xml, LO was not able to
* preserve it.
*/
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index 7a903af6c8df..6b64b60e4c32 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -290,7 +290,7 @@ SwDoc::SwDoc()
// It is also hard to find all places where the initial ItemSets for Writer (including
// style hierarchies) are created and to always set (but only at the root) the FillStyle
// to NONE fixed; that will add that attribute to the file format. It will be hard to reset
- // attribbute sets (which is done at import and using UI). Also not a good solution.
+ // attribute sets (which is done at import and using UI). Also not a good solution.
// Luckily Writer uses pDfltTextFormatColl as default parent for all paragraphs and similar, thus
// it is possible to set this attribute here. It will be not reset when importing.
mpDfltTextFormatColl->SetFormatAttr(XFillStyleItem(drawing::FillStyle_NONE));
diff --git a/sw/source/core/doc/docsort.cxx b/sw/source/core/doc/docsort.cxx
index 7173e13f010b..83a2296945fa 100644
--- a/sw/source/core/doc/docsort.cxx
+++ b/sw/source/core/doc/docsort.cxx
@@ -864,7 +864,7 @@ sal_uInt16 FlatFndBox::GetRowCount(const _FndBox& rBox)
return nLines;
}
-/// Create a linear array of atmoic FndBoxes
+/// Create a linear array of atomic FndBoxes
void FlatFndBox::FillFlat(const _FndBox& rBox, bool bLastBox)
{
bool bModRow = false;
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index e100b39b965c..f99b7e71c827 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -1038,7 +1038,7 @@ SwSectionNode::~SwSectionNode()
SwSectionFormat* pFormat = m_pSection->GetFormat();
if( pFormat )
{
- // Remove the Attributei, because the Section deletes it's Format
+ // Remove the Attribute, because the Section deletes it's Format
// and it will neutralize the Section, if the Content Attribute is set
pFormat->LockModify();
pFormat->ResetFormatAttr( RES_CNTNT );
diff --git a/sw/source/filter/basflt/fltshell.cxx b/sw/source/filter/basflt/fltshell.cxx
index 889864d55a39..336315db1ee8 100644
--- a/sw/source/filter/basflt/fltshell.cxx
+++ b/sw/source/filter/basflt/fltshell.cxx
@@ -151,7 +151,7 @@ bool SwFltStackEntry::MakeRegion(SwDoc* pDoc, SwPaM& rRegion, bool bCheck,
rRegion.GetPoint()->nContent.Assign(pCNd, rPtPos.m_nContent);
OSL_ENSURE( CheckNodesRange( rRegion.Start()->nNode,
rRegion.End()->nNode, true ),
- "atttribute or similar crosses section-boundaries" );
+ "attribute or similar crosses section-boundaries" );
if( bCheck )
return CheckNodesRange( rRegion.Start()->nNode,
rRegion.End()->nNode, true );
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 2ef62563d361..3f0346c68a63 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -2689,7 +2689,7 @@ void SwHTMLParser::_SetAttr( bool bChkEnd, bool bBeforeTable,
}
else
{
- // Attribiute im Content-Bereich duerfen nicht gesetzt
+ // Attribute im Content-Bereich duerfen nicht gesetzt
// werden, wenn wir in einem Sonderbereich stehen, aber
// umgekekehrt schon.
sal_uLong nEndOfIcons = pDoc->GetNodes().GetEndOfExtras().GetIndex();
@@ -3052,7 +3052,7 @@ bool SwHTMLParser::EndAttr( _HTMLAttr* pAttr, _HTMLAttr **ppDepAttr,
nEndCnt != pAttr->GetSttCnt() )
{
bInsert = true;
- // We do some optimization for script depenedent attribtes here.
+ // We do some optimization for script depenedent attributes here.
if( *pEndIdx == pAttr->GetSttPara() )
{
lcl_swhtml_getItemInfo( *pAttr, bScript, bFont, nScriptItem );
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index 1ae28355d791..7bb5e0092240 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -924,7 +924,7 @@ private:
std::unique_ptr<sax_fastparser::FastAttributeList> m_pRunSdtPrDataBindingAttrs;
/// Value of the <w:alias> paragraph SDT element.
OUString m_aParagraphSdtPrAlias;
- /// Same as m_aParagraphSdtPrAlias, but its content is aviailable till the SDT is closed.
+ /// Same as m_aParagraphSdtPrAlias, but its content is available till the SDT is closed.
OUString m_aStartedParagraphSdtPrAlias;
OUString m_aRunSdtPrAlias;
/// Currently paragraph SDT has a <w:id> child element.
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 1a393b9dd2f3..8d767532e6a4 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2785,7 +2785,7 @@ void SwWW8ImplReader::Read_Symbol(sal_uInt16, const sal_uInt8* pData, short nLen
}
else
{
- // Make new Font-Atribut
+ // Make new Font-Attribut
// (will be closed in SwWW8ImplReader::ReadChars() )
//Will not be added to the charencoding stack, for styles the real
diff --git a/sw/source/uibase/uiview/scroll.cxx b/sw/source/uibase/uiview/scroll.cxx
index 59812dcead71..4ff7d471ef8a 100644
--- a/sw/source/uibase/uiview/scroll.cxx
+++ b/sw/source/uibase/uiview/scroll.cxx
@@ -95,7 +95,7 @@ void SwScrollbar::SetAuto(bool bSet)
{
bAuto = bSet;
- // hide autmatically - automatisch versteckt - then show
+ // hide automatically - automatisch versteckt - then show
if(!bAuto && bVisible && !ScrollBar::IsVisible())
ExtendedShow(true);
else if(bAuto)