summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpframelayout.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /lotuswordpro/source/filter/lwpframelayout.cxx
parentjava: convert fields to local variables where possible (diff)
downloadcore-da40cac540e7d735edbe9069b3c8ec6af4530208.tar.gz
core-da40cac540e7d735edbe9069b3c8ec6af4530208.zip
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/source/filter/lwpframelayout.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpframelayout.cxx14
1 files changed, 7 insertions, 7 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())