diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-09-25 11:17:43 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-26 10:44:31 +0200 |
commit | f898dcebaa8076b4cb46f0b08f551c30e1130f17 (patch) | |
tree | 293d7e2f43dcee71ff3dd3e66ed5544db34ed912 | |
parent | 67ba951aa53190feabcea8c6cd9fdcb1e48931b2 (diff) |
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@yahoo.fr>
-rw-r--r-- | sw/source/core/layout/flowfrm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 ); } |