[Libreoffice-commits] core.git: sw/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sat Sep 26 08:45:18 UTC 2020
sw/source/core/layout/flowfrm.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit f898dcebaa8076b4cb46f0b08f551c30e1130f17
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Sep 25 11:17:43 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Sep 26 10:44:31 2020 +0200
Fix typo in code
It passed "make check" on Linux
Change-Id: I6a2f61934673756d45a83f49f0e7d9391995cda5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103422
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx
index 58f0eff76928..225a88847a8d 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -1448,10 +1448,10 @@ SwTwips SwFlowFrame::CalcUpperSpace( const SwBorderAttrs *pAttrs,
SwTwips nPrevLowerSpace = 0;
SwTwips nPrevLineSpacing = 0;
// i#102458
- bool bPrevLineSpacingPorportional = false;
+ bool bPrevLineSpacingProportional = false;
GetSpacingValuesOfFrame( (*pPrevFrame),
nPrevLowerSpace, nPrevLineSpacing,
- bPrevLineSpacingPorportional,
+ bPrevLineSpacingProportional,
bIdenticalStyles);
if( rIDSA.get(DocumentSettingId::PARA_SPACE_MAX) )
{
@@ -1485,7 +1485,7 @@ SwTwips SwFlowFrame::CalcUpperSpace( const SwBorderAttrs *pAttrs,
// Otherwise, the maximum of the leading line spacing
// of the previous text frame and the own leading line
// spacing is built.
- if ( bPrevLineSpacingPorportional )
+ if ( bPrevLineSpacingProportional )
{
nAdd += static_cast<SwTextFrame*>(pOwn)->GetLineSpace( true );
}
@@ -1533,7 +1533,7 @@ SwTwips SwFlowFrame::CalcUpperSpace( const SwBorderAttrs *pAttrs,
// Otherwise, the maximum of the leading line spacing
// of the previous text frame and the own leading line
// spacing is built.
- if ( bPrevLineSpacingPorportional )
+ if ( bPrevLineSpacingProportional )
{
nAdd += static_cast<SwTextFrame*>(pOwn)->GetLineSpace( true );
}
More information about the Libreoffice-commits
mailing list