Kaydet (Commit) 2980e65d authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Noel Grandin

fix crash on pdf import of fdo30892-1

after
    commit a9ef9437
    Date:   Wed Feb 28 11:09:43 2018 +0200
    loplugin:useuniqueptr in sdext

Change-Id: I964e2319d583455c2c698f895e0b675d69256e38
Reviewed-on: https://gerrit.libreoffice.org/51475Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 3eb9a61a
...@@ -736,7 +736,6 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent) ...@@ -736,7 +736,6 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent)
pCur->Children.splice( pCur->Children.end(), pNext->Children ); pCur->Children.splice( pCur->Children.end(), pNext->Children );
// get rid of the now useless element // get rid of the now useless element
rParent.Children.erase( next ); rParent.Children.erase( next );
delete pNext;
bConcat = true; bConcat = true;
} }
} }
......
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