diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-17 12:17:16 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-17 16:00:18 +0200 |
commit | 647fc41763d1310479d59262734caa296f6e558d (patch) | |
tree | fe6fc87a2cfa284aab1203d6abdadd2aa5928357 /sw | |
parent | b40068d55dd52f337b0a0da4c876ae4e4473eaec (diff) |
Limit variable scope
Change-Id: I42d2e59297a70c977ec2f7782b403c1f79c434de
Reviewed-on: https://gerrit.libreoffice.org/61875
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/flowfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index 90123ceadc0e..e79318a065f3 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -1416,9 +1416,9 @@ SwTwips SwFlowFrame::CalcUpperSpace( const SwBorderAttrs *pAttrs, // OD 06.01.2004 #i11859# { const IDocumentSettingAccess& rIDSA = m_rThis.GetUpper()->GetFormat()->getIDocumentSettingAccess(); - const bool bUseFormerLineSpacing = rIDSA.get(DocumentSettingId::OLD_LINE_SPACING); if( pPrevFrame ) { + const bool bUseFormerLineSpacing = rIDSA.get(DocumentSettingId::OLD_LINE_SPACING); const bool bContextualSpacing = pAttrs->GetULSpace().GetContext() && lcl_getContextualSpacing(pPrevFrame) && lcl_IdenticalStyles(pPrevFrame, &m_rThis); |