summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-01-07 19:24:42 +0100
committerJulien Nabet <serval2412@yahoo.fr>2020-01-08 14:08:25 +0100
commite30c8812f623f8dcfa83ed7e44b40c78ad94933b (patch)
treea0bc85fb5b558eff19db9bdb21d0a6baa505eff0 /sw
parent026b6dc1f195e6af797ba1bbb096130b1ebdebf4 (diff)
Fix typo
Change-Id: I211fb36e9ad16b8ed468ce8dec5c95e7f5ab9391 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86381 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
index 402249cf8080..0a19ebc7c4ae 100644
--- a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
@@ -122,7 +122,7 @@ static bool lcl_DoesVertPosFits( const SwTwips _nRelPosY,
else if ( _pUpperOfOrientFrame->IsInTab() && _bGrowInTable )
{
// #i45085# - check, if upper frame would grow the
- // excepted amount of twips.
+ // expected amount of twips.
const SwTwips nTwipsGrown = const_cast<SwLayoutFrame*>(_pUpperOfOrientFrame)->
Grow( _nRelPosY - _nAvail, true );
bVertPosFits = ( nTwipsGrown == ( _nRelPosY - _nAvail ) );