[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 17 14:01:23 UTC 2018
sw/source/core/layout/flowfrm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 647fc41763d1310479d59262734caa296f6e558d
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Wed Oct 17 12:17:16 2018 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Oct 17 16:00:18 2018 +0200
Limit variable scope
Change-Id: I42d2e59297a70c977ec2f7782b403c1f79c434de
Reviewed-on: https://gerrit.libreoffice.org/61875
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
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);
More information about the Libreoffice-commits
mailing list