sdext/source/pdfimport/tree/drawtreevisiting.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 34761d98c5939871554dd75ecdeb7031b65d0bfe Author: Noel Grandin <[email protected]> Date: Fri Jun 19 10:57:11 2015 +0200 add comment Change-Id: I336e6ea9b08edaa7e9718f8af9c112b983eeaa58 diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index 9c19aa4..0b2fad3 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -451,6 +451,7 @@ void DrawXmlOptimizer::visit( PolyPolyElement& elem, const std::list< Element* > elem.Action |= pNext->Action; elem.Children.splice( elem.Children.end(), pNext->Children ); + // workaround older compilers that do not have std::list::erase(const_iterator) std::list< Element* > tmp; tmp.splice( tmp.begin(), elem.Parent->Children, next_it, next_it); delete pNext; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
