[Libreoffice-commits] core.git: sdext/source
Noel Grandin
noel at peralex.com
Fri Jun 19 01:57:42 PDT 2015
sdext/source/pdfimport/tree/drawtreevisiting.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 34761d98c5939871554dd75ecdeb7031b65d0bfe
Author: Noel Grandin <noel at peralex.com>
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;
More information about the Libreoffice-commits
mailing list