diff options
Diffstat (limited to 'sdext/source/pdfimport/tree/drawtreevisiting.cxx')
-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; |