[Libreoffice-bugs] [Bug 107126] Crash on changing page type in document (editing) with many footnotes (steps in comment 14)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 17 20:50:54 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107126

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |haveBacktrace
                 CC|                            |mstahl at redhat.com

--- Comment #16 from Julien Nabet <serval2412 at yahoo.fr> ---
bandaid fix for the provided bt:
diff --git a/sw/source/core/text/widorp.cxx b/sw/source/core/text/widorp.cxx
index b096df735e95..06af57b13b09 100644
--- a/sw/source/core/text/widorp.cxx
+++ b/sw/source/core/text/widorp.cxx
@@ -65,7 +65,7 @@ SwTextFrameBreak::SwTextFrameBreak( SwTextFrame *pNewFrame,
const SwTwips nRst )
     if( !m_bKeep && m_pFrame->IsInSct() )
     {
         const SwSectionFrame* const pSct = m_pFrame->FindSctFrame();
-        m_bKeep = pSct->Lower()->IsColumnFrame() && !pSct->MoveAllowed(
m_pFrame );
+        m_bKeep = pSct && pSct->Lower()->IsColumnFrame() &&
!pSct->MoveAllowed( m_pFrame );
     }
     m_bKeep = m_bKeep ||
!m_pFrame->GetTextNode()->GetSwAttrSet().GetSplit().GetValue() ||
         m_pFrame->GetTextNode()->GetSwAttrSet().GetKeep().GetValue();
but perhaps it would just hide the root cause.

Michael: thought you might be interested in this one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170417/4a4df596/attachment.html>


More information about the Libreoffice-bugs mailing list