From da40cac540e7d735edbe9069b3c8ec6af4530208 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 10 Nov 2014 15:05:25 +0100 Subject: Fix common typos. No automatic tools. Handmade… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- lotuswordpro/source/filter/lwpframelayout.cxx | 14 +++++++------- lotuswordpro/source/filter/lwpfribsection.cxx | 4 ++-- lotuswordpro/source/filter/lwplayout.cxx | 2 +- lotuswordpro/source/filter/lwpobjstrm.cxx | 2 +- lotuswordpro/source/filter/xfilter/xfbase64.hxx | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx index 21e601dc5eb1..5edc34d94b2e 100644 --- a/lotuswordpro/source/filter/lwpframelayout.cxx +++ b/lotuswordpro/source/filter/lwpframelayout.cxx @@ -246,7 +246,7 @@ void LwpFrame::ApplyWrapType(XFFrameStyle *pFrameStyle) enumXFWrap eWrap = enumXFWrapNone; switch(m_pLayout->GetWrapType()) { - case LwpPlacableLayout::LAY_WRAP_AROUND: //fall throught + case LwpPlacableLayout::LAY_WRAP_AROUND: //fall through case LwpPlacableLayout::LAY_WRAP_IRREG_BIGGEST: { //In SODC, if Optimal wrap type is used and the distance between the frame object @@ -282,19 +282,19 @@ void LwpFrame::ApplyWrapType(XFFrameStyle *pFrameStyle) } break; } - case LwpPlacableLayout::LAY_WRAP_LEFT: //fall throught + case LwpPlacableLayout::LAY_WRAP_LEFT: //fall through case LwpPlacableLayout::LAY_WRAP_IRREG_LEFT: { eWrap = enumXFWrapLeft; break; } - case LwpPlacableLayout::LAY_WRAP_RIGHT: //fall throught + case LwpPlacableLayout::LAY_WRAP_RIGHT: //fall through case LwpPlacableLayout::LAY_WRAP_IRREG_RIGHT: { eWrap = enumXFWrapRight; break; } - case LwpPlacableLayout::LAY_WRAP_BOTH: //fall throught + case LwpPlacableLayout::LAY_WRAP_BOTH: //fall through case LwpPlacableLayout::LAY_WRAP_IRREG_BOTH: { eWrap = enumXFWrapParallel; @@ -426,7 +426,7 @@ void LwpFrame::ApplyPosType(XFFrameStyle* pFrameStyle) sal_uInt8 nType = m_pLayout->GetRelativeType(); switch(nType) { - case LwpLayoutRelativityGuts::LAY_PARENT_RELATIVE://fall throught + case LwpLayoutRelativityGuts::LAY_PARENT_RELATIVE://fall through case LwpLayoutRelativityGuts::LAY_CONTENT_RELATIVE: { //anchor to page, frame and cell @@ -609,7 +609,7 @@ void LwpFrame::ParseAnchorType(XFFrame *pXFFrame) sal_uInt8 nType = m_pLayout->GetRelativeType(); switch(nType) { - case LwpLayoutRelativityGuts::LAY_PARENT_RELATIVE://fall throught + case LwpLayoutRelativityGuts::LAY_PARENT_RELATIVE://fall through case LwpLayoutRelativityGuts::LAY_CONTENT_RELATIVE: { //anchor to page, frame and cell @@ -689,7 +689,7 @@ void LwpFrame::ParseAnchorType(XFFrame *pXFFrame) double offset = 0; //because of the different feature between Word Pro and SODC, I simulate the vertical base offset - //between anchor and frame orgin using the font height. + //between anchor and frame origin using the font height. //LwpPara* pPara = static_cast(m_pLayout->GetPosition()->obj()); rtl::Reference pFont = m_pLayout->GetFont(); if(pFont.is()) diff --git a/lotuswordpro/source/filter/lwpfribsection.cxx b/lotuswordpro/source/filter/lwpfribsection.cxx index 5cf7a1c0db4b..388f9307343c 100644 --- a/lotuswordpro/source/filter/lwpfribsection.cxx +++ b/lotuswordpro/source/filter/lwpfribsection.cxx @@ -286,8 +286,8 @@ bool LwpMasterPage::RegisterMasterPage(LwpFrib* pFrib) //bSectionColumns = sal_True; break; } - case LwpLayout::StartOnNextPage: //fall throught - case LwpLayout::StartOnOddPage: //fall throught + case LwpLayout::StartOnNextPage://fall through + case LwpLayout::StartOnOddPage: //fall through case LwpLayout::StartOnEvenPage: { LwpStory* pStory = static_cast(m_pPara->GetStoryID().obj().get()); diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index b452ff8f9f14..0c5c78d30701 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -1099,7 +1099,7 @@ double LwpMiddleLayout::GetWidth() return GetGeometryWidth(); } /** -* @descr: Get layout orgin point +* @descr: Get layout origin point * */ LwpPoint LwpMiddleLayout::GetOrigin() diff --git a/lotuswordpro/source/filter/lwpobjstrm.cxx b/lotuswordpro/source/filter/lwpobjstrm.cxx index 312ae67bc3f7..8eb8d431fc70 100644 --- a/lotuswordpro/source/filter/lwpobjstrm.cxx +++ b/lotuswordpro/source/filter/lwpobjstrm.cxx @@ -364,7 +364,7 @@ sal_uInt16 LwpObjectStream::DecompressBuffer(sal_uInt8* pDst, sal_uInt8* pSrc, s *pDst++ = 0; DstSize++; - // fall thru into next case! + // fall through into next case! case 0xC0: // 1 - 64 bytes of non-zero diff --git a/lotuswordpro/source/filter/xfilter/xfbase64.hxx b/lotuswordpro/source/filter/xfilter/xfbase64.hxx index 23bdeb5074c6..7e2ba54bb39d 100644 --- a/lotuswordpro/source/filter/xfilter/xfbase64.hxx +++ b/lotuswordpro/source/filter/xfilter/xfbase64.hxx @@ -65,7 +65,7 @@ /** * @brief * Base64 algorithm implementation. - * I only implements encode funtion now,i'll add decode if needed later. + * I only implements encode function now, i'll add decode if needed later. * http://www.faqs.org/rfcs/rfc3548.html. */ -- cgit