diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-12 09:57:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-12 15:03:32 +0100 |
commit | 87ea09563d9b8cd24e2542a89b2150901ba94b05 (patch) | |
tree | 361f8e717877fe4473f13c806ae5a34b0c40a9e1 /writerfilter | |
parent | 81e2bb73dafd0de1bae5d5bb0aadffcd7339b2ac (diff) |
forcepoint #22 pop on empty stack
Thanks to Antti Levomäki and Christian Jalio from Forcepoint.
Change-Id: I964c79af0087075df0142cd251fd304a68bc497b
Reviewed-on: https://gerrit.libreoffice.org/51119
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 4c051cd73e5f..e38012adc05c 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -4924,7 +4924,7 @@ void DomainMapper_Impl::StartOrEndBookmark( const OUString& rId ) * iff the first element in the section is a table. If the dummy para is not added yet, then add it; * So bookmark is not attached to the wrong paragraph. */ - if(getTableManager( ).isInCell() && m_nTableDepth == 0 && GetIsFirstParagraphInSection() + if(hasTableManager() && getTableManager().isInCell() && m_nTableDepth == 0 && GetIsFirstParagraphInSection() && !GetIsDummyParaAddedForTableInSection() &&!GetIsTextFrameInserted()) { AddDummyParaForTableInSection(); |