diff options
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/tree/writertreevisiting.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx index 2ece5307bd53..deabf365088b 100644 --- a/sdext/source/pdfimport/tree/writertreevisiting.cxx +++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx @@ -382,7 +382,7 @@ void WriterXmlEmitter::visit( DocumentElement& elem, const std::list< std::uniqu // only DrawElement types for( auto it = elem.Children.begin(); it != elem.Children.end(); ++it ) { - if( dynamic_cast<DrawElement*>(it->get()) == nullptr ) + if( dynamic_cast<DrawElement*>(it->get()) != nullptr ) (*it)->visitedBy( *this, it ); } |