summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/tabfrm.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-07-17 23:18:09 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-07-23 23:39:34 +0200
commit73ed7a5179df6543fd3b34d82b5feb9b7277b688 (patch)
tree4fe18c7b745ddaacc0ae1007fafef90efb5fd210 /sw/source/core/layout/tabfrm.cxx
parentc7d324a4cb236426849c52005d95a43f1d0c2c1d (diff)
Fix typos
Change-Id: Ia11646ac8f2f57225a1cf37725c5e0742a8489d9 Reviewed-on: https://gerrit.libreoffice.org/57605 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'sw/source/core/layout/tabfrm.cxx')
-rw-r--r--sw/source/core/layout/tabfrm.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 7c62601414f0..73ca3241d909 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -2861,7 +2861,7 @@ void SwTabFrame::Format( vcl::RenderContext* /*pRenderContext*/, const SwBorderA
if ( nRightOffset > 0 )
{
// surrounding fly frames on the right
- // -> right indent is maximun of given right offset
+ // -> right indent is maximum of given right offset
// and wished right offset.
nRightSpacing = nRightLine + std::max( nRightOffset, nWishRight );
}
@@ -2892,7 +2892,7 @@ void SwTabFrame::Format( vcl::RenderContext* /*pRenderContext*/, const SwBorderA
if ( nLeftOffset > 0 )
{
// surrounding fly frames on the left
- // -> right indent is maximun of given left offset
+ // -> right indent is maximum of given left offset
// and wished left offset.
nLeftSpacing = nLeftLine + std::max( nLeftOffset, nWishLeft );
}
@@ -2942,7 +2942,7 @@ void SwTabFrame::Format( vcl::RenderContext* /*pRenderContext*/, const SwBorderA
{
// OD 07.03.2003 #i9040# - surround fly frames only, if
// they overlap with the table.
- // Thus, take maximun of left spacing and left offset.
+ // Thus, take maximum of left spacing and left offset.
// OD 10.03.2003 #i9040# - consider left line attribute.
nLeftSpacing = std::max( nLeftSpacing, ( nLeftOffset + nLeftLine ) );
}
@@ -2952,7 +2952,7 @@ void SwTabFrame::Format( vcl::RenderContext* /*pRenderContext*/, const SwBorderA
{
// OD 07.03.2003 #i9040# - surround fly frames only, if
// they overlap with the table.
- // Thus, take maximun of right spacing and right offset.
+ // Thus, take maximum of right spacing and right offset.
// OD 10.03.2003 #i9040# - consider right line attribute.
nRightSpacing = std::max( nRightSpacing, ( nRightOffset + nRightLine ) );
}
@@ -2968,7 +2968,7 @@ void SwTabFrame::Format( vcl::RenderContext* /*pRenderContext*/, const SwBorderA
{
// OD 10.03.2003 #i9040# - surround fly frames only, if
// they overlap with the table.
- // Thus, take maximun of right spacing and right offset.
+ // Thus, take maximum of right spacing and right offset.
// OD 10.03.2003 #i9040# - consider left line attribute.
nLeftSpacing = std::max( nLeftSpacing, ( pAttrs->CalcLeftLine() + nLeftOffset ) );
}