diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /lotuswordpro | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpframelayout.cxx | 14 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpfribsection.cxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwplayout.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpobjstrm.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfbase64.hxx | 2 |
5 files changed, 12 insertions, 12 deletions
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<LwpPara*>(m_pLayout->GetPosition()->obj()); rtl::Reference<XFFont> 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<LwpStory*>(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. */ |