diff options
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 96993f8589c1..93b58d87a515 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -1048,7 +1048,7 @@ void FastSaxParserImpl::pushEntity( const Entity& rEntity ) void FastSaxParserImpl::popEntity() { maEntities.pop(); - mpTop = &maEntities.top(); + mpTop = !maEntities.empty() ? &maEntities.top() : NULL; } // starts parsing with actual parser ! |