diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-09 10:47:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-09 11:32:59 +0100 |
commit | dfedebd1e1912252bc2b5204a2b5371952b552cd (patch) | |
tree | ec42fed42205643a736203d565b824300984395a | |
parent | e52bae937032dd5eac14da1d54b045ad9d787b1f (diff) |
Resolves: tdf#91695 partially Revert "crash on layout of novell622972-2.html"
This reverts commit 9857c6390212e16dd9f26b47b4afc5d33b5242ef.
Change-Id: Id47e982eb346c092991f07964c0146daefccb031
(cherry picked from commit 64dc505ce180a168798b725423a308207de42c63)
-rw-r--r-- | sw/source/core/layout/layact.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index 5289d58faf3a..904678877bbf 100644 --- a/sw/source/core/layout/layact.cxx +++ b/sw/source/core/layout/layact.cxx @@ -1239,12 +1239,7 @@ bool SwLayAction::FormatLayout( SwLayoutFrm *pLay, bool bAddRect ) aOldRect = static_cast<SwPageFrm*>(pLay)->GetBoundRect(); } - { - //JoinLock pParent for the lifetime of the Calc call to avoid - //SwSectionFrm::MergeNext removing the pLay we're trying to Format - FlowFrmJoinLockGuard aJoinGuard(pLay); - pLay->Calc(); - } + pLay->Calc(); if ( aOldFrame != pLay->Frm() ) bChanged = true; |