diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-19 10:57:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-19 10:57:11 +0200 |
commit | 34761d98c5939871554dd75ecdeb7031b65d0bfe (patch) | |
tree | 892fb342b02a9a690cbf726f6a31019132b081f0 /sdext | |
parent | 7d69c94104ef60d4c9f08274136067b6120fa23e (diff) |
add comment
Change-Id: I336e6ea9b08edaa7e9718f8af9c112b983eeaa58
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/tree/drawtreevisiting.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index 9c19aa4cd7bb..0b2fad3aab54 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; |