diff options
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfsdrimport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx index 6f712d9a75c0..b15b79d2ac6a 100644 --- a/writerfilter/source/rtftok/rtfsdrimport.cxx +++ b/writerfilter/source/rtftok/rtfsdrimport.cxx @@ -132,7 +132,8 @@ void RTFSdrImport::popParent() { if (!m_aGraphicZOrderHelpers.empty()) m_aGraphicZOrderHelpers.pop(); - m_aParents.pop(); + if (!m_aParents.empty()) + m_aParents.pop(); } void RTFSdrImport::resolveDhgt(uno::Reference<beans::XPropertySet> const& xPropertySet, |