summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorChris Laplante <mostthingsweb@gmail.com>2014-05-14 14:15:38 -0400
committerThomas Arnhold <thomas@arnhold.org>2014-05-17 12:38:38 +0000
commit3c1e30b77df4f34c4954bff37a08439ace7f2434 (patch)
treea5231657e37e3b2efb2ba438c43561bf5f27649c /sw
parentf62de9113a4866f7152acbe0e8221c594b7a7b68 (diff)
Correct common misspellings, and remove some ASCII art along the way.
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport.cxx4
-rw-r--r--sw/source/core/crsr/crsrsh.cxx2
-rw-r--r--sw/source/core/doc/doclay.cxx2
-rw-r--r--sw/source/core/layout/ftnfrm.cxx2
-rw-r--r--sw/source/core/layout/trvlfrm.cxx2
-rw-r--r--sw/source/core/text/itratr.cxx2
-rw-r--r--sw/source/core/txtnode/fntcache.cxx4
-rw-r--r--sw/source/core/uibase/uiview/formatclipboard.cxx2
-rw-r--r--sw/source/core/uibase/uiview/viewport.cxx2
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx2
-rw-r--r--sw/source/filter/ww8/wrtww8gr.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx2
13 files changed, 15 insertions, 15 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 67ee861dc48d..ebf2d336b833 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -2475,8 +2475,8 @@ DECLARE_OOXMLEXPORT_TEST(testIndentation, "test_indentation.docx")
DECLARE_OOXMLEXPORT_TEST(testCaption1, "EquationAsScientificNumbering.docx")
{
- // fdo#74431 : This test case is to verify the Captions are comming properly
- //earlier it was comming as "SEQ "scientific"\*ROMAN now it is SEQ scientific\* ROMAN"
+ // fdo#74431 : This test case is to verify the Captions are coming properly
+ // earlier it was coming as "SEQ "scientific"\*ROMAN now it is SEQ scientific\* ROMAN"
xmlDocPtr pXmlDoc = parseExport();
if (!pXmlDoc)
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index 56803434581c..46446c2f18fa 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -1497,7 +1497,7 @@ void SwCrsrShell::UpdateCrsr( sal_uInt16 eFlags, bool bIdleEnd )
if(!m_pTblCrsr)
{
SAL_WARN("sw", "fdo#74854: "
- "this should not happen, but better loose the selection "
+ "this should not happen, but better lose the selection "
"rather than crashing");
return;
}
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index eb62fcf6d5f2..58cff5cd7375 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -1067,7 +1067,7 @@ SwPosFlyFrms SwDoc::GetAllFlyFmts( const SwPaM* pCmpRange, bool bDrawAlso,
if ( !pCntntFrm )
{
// Oops! An empty page.
- // In order not to loose the whole frame (RTF) we
+ // In order not to lose the whole frame (RTF) we
// look for the last Cntnt before the page.
SwPageFrm *pPrv = (SwPageFrm*)pPage->GetPrev();
while ( !pCntntFrm && pPrv )
diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx
index 2f660a3cbcf2..5196ea9f163c 100644
--- a/sw/source/core/layout/ftnfrm.cxx
+++ b/sw/source/core/layout/ftnfrm.cxx
@@ -381,7 +381,7 @@ SwTwips SwFtnContFrm::GrowFrm( SwTwips nDist, bool bTst, bool )
Frm().Pos().X() += nDist;
}
- // growing happends upwards, so successors to not need to be invalidated
+ // growing happens upwards, so successors to not need to be invalidated
if( nReal )
{
_InvalidateSize();
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index a7b786d5e8ef..6fc290f235b4 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -1150,7 +1150,7 @@ static sal_uInt64 CalcDiff(const Point &rPt1, const Point &rPt2)
return (dX * dX) + (dY * dY);
}
-/** Check if the point lies inside the page part in wich also the CntntFrame lies.
+/** Check if the point lies inside the page part in which also the CntntFrame lies.
*
* In this context header, page body, footer and footnote-container count as page part.
* This will suit the purpose that the CntntFrm which lies in the "right" page part will be
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx
index dc7968477301..9493250777be 100644
--- a/sw/source/core/text/itratr.cxx
+++ b/sw/source/core/text/itratr.cxx
@@ -696,7 +696,7 @@ void SwTxtNode::GetMinMaxSize( sal_uLong nIndex, sal_uLong& rMin, sal_uLong &rMa
// This is a hack for the wollowing situation: In the paragraph there's a
// text frame with relative size. Then let's take 0.5 cm as minimum width
// and KSHRT_MAX as maximum width
- // It were cleaner and maybe neccessary later on to iterate over the content
+ // It were cleaner and maybe necessary later on to iterate over the content
// of the text frame and call GetMinMaxSize recursively
nAktWidth = FLYINCNT_MIN_WIDTH; // 0.5 cm
if( (long)rMax < KSHRT_MAX )
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 104c8ccc8c25..1a6fd1cb4a7c 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -422,8 +422,8 @@ void SwFntObj::CreateScrFont( const SwViewShell& rSh, const OutputDevice& rOut )
pScrFont = pPrtFont;
FontMetric aMet = pPrt->GetFontMetric( );
- //Don't loose "faked" properties of the logical font that don't truly
- //exist in the physical font metrics which vcl which fake up for us
+ // Don't lose "faked" properties of the logical font that don't truly
+ // exist in the physical font metrics which vcl which fake up for us
aMet.SetWeight(pScrFont->GetWeight());
aMet.SetItalic(pScrFont->GetItalic());
diff --git a/sw/source/core/uibase/uiview/formatclipboard.cxx b/sw/source/core/uibase/uiview/formatclipboard.cxx
index efa48b876e0c..5a06d660d372 100644
--- a/sw/source/core/uibase/uiview/formatclipboard.cxx
+++ b/sw/source/core/uibase/uiview/formatclipboard.cxx
@@ -511,7 +511,7 @@ void SwFormatClipboard::Paste( SwWrtShell& rWrtShell, SfxStyleSheetBasePool* pPo
// temporary SfxItemSet
SfxItemSet* pTemplateItemSet = lcl_CreateEmptyItemSet(
nSelectionType, *m_pItemSet_ParAttr->GetPool(), false);
- // no need to verify the existance of pTemplateItemSet as we
+ // no need to verify the existence of pTemplateItemSet as we
// know that here the selection type is SEL_TXT
pTemplateItemSet->Put( *m_pItemSet_ParAttr );
diff --git a/sw/source/core/uibase/uiview/viewport.cxx b/sw/source/core/uibase/uiview/viewport.cxx
index 7c119bf608c0..6e9ab88a6f72 100644
--- a/sw/source/core/uibase/uiview/viewport.cxx
+++ b/sw/source/core/uibase/uiview/viewport.cxx
@@ -305,7 +305,7 @@ void SwView::SetVisArea( const Point &rPt, bool bUpdateScrollbar )
// This goes wrong in the BrowseView, because the entire document may
// not be visible. Since the content in frames is fitting exactly,
// align is not possible (better idea?!?!)
- // (fix: Bild.de, 200%) It does not work completly without alignment
+ // (fix: Bild.de, 200%) It does not work completely without alignment
// Let's see how far we get with half BrushSize.
Point aPt( rPt );
aPt = GetEditWin().LogicToPixel( aPt );
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 1bcaea7a1e43..9a29d9fa6f69 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -1646,7 +1646,7 @@ void RtfAttributeOutput::OutputFlyFrame_Impl(const sw::Frame& rFrame, const Poin
m_nTableDepth = 0;
/*
- * Save m_aRun as we should not loose the opening brace.
+ * Save m_aRun as we should not lose the opening brace.
* OTOH, just drop the contents of m_aRunText in case something
* would be there, causing a problem later.
*/
diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx
index a8b7563cee40..a4c45c9d2069 100644
--- a/sw/source/filter/ww8/wrtww8gr.cxx
+++ b/sw/source/filter/ww8/wrtww8gr.cxx
@@ -627,7 +627,7 @@ void SwWW8WrGrf::WritePICFHeader(SvStream& rStrm, const sw::Frame &rFly,
/*
Just in case our original size is too big to fit inside a ushort we can
- substitute the final size and loose on retaining the scaling factor but
+ substitute the final size and lose on retaining the scaling factor but
still keep the correct display size anyway.
*/
const bool bIsSubstitutedSize = (aGrTwipSz.Width() > SHRT_MAX) || (aGrTwipSz.Height() > SHRT_MAX) ||
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index bf4b67ae5561..5e9c930897e8 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -820,7 +820,7 @@ long SwWW8ImplReader::Read_Field(WW8PLCFManResult* pRes)
OSL_ENSURE(bOk, "WW8: Bad Field!\n");
if (aF.nId == 33) aF.bCodeNest=false; // do not recurse into nested page fields
bool bCodeNest = aF.bCodeNest;
- if ( aF.nId == 6 ) bCodeNest = false; // We can handle them and loose the inner data
+ if ( aF.nId == 6 ) bCodeNest = false; // We can handle them and lose the inner data
maFieldStack.push_back(WW8FieldEntry(*pPaM->GetPoint(), aF.nId));
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index 9a7fe34d2225..3f0204f80a2b 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -1684,7 +1684,7 @@ void SwInsertDBColAutoPilot::Load()
OUString sColumn;
pSubProps[0] >>= sColumn;
- //check for existance of the loaded column name
+ // check for existence of the loaded column name
bool bFound = false;
for(size_t nRealColumn = 0; nRealColumn < aDBColumns.size(); ++nRealColumn)
{