Kaydet (Commit) e5321eba authored tarafından Mike Kaganski's avatar Mike Kaganski

Remove unneeded check

See commit 60dca2de, which converted preceeding
OSL_ENSURE into asserts - so nullptr is considered impossible here.

Change-Id: Ia6d8f226d94c84a66bad67ce1b5f702864d61fdc
Reviewed-on: https://gerrit.libreoffice.org/71475
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 3a24e72f
......@@ -1640,8 +1640,7 @@ void InsertCnt_( SwLayoutFrame *pLay, SwDoc *pDoc,
//Close the section, where appropriate activate the surrounding
//section again.
SwActualSection *pActualSectionUpper1 = pActualSection ? pActualSection->GetUpper() : nullptr;
pActualSection.reset(pActualSectionUpper1);
pActualSection.reset(pActualSection->GetUpper());
pLay = pLay->FindSctFrame();
if ( pActualSection )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment