forcepoint #21 pop on empty stack
Thanks to Antti Levomäki and Christian Jalio from Forcepoint. Change-Id: I0aac834a60224b33e5d33d08abd7fb056ef9d52a Reviewed-on: https://gerrit.libreoffice.org/50973 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
c056813410
commit
a4617d76a5
2 changed files with 3 additions and 1 deletions
1
sw/qa/core/data/rtf/pass/forcepoint-3.rtf
Executable file
1
sw/qa/core/data/rtf/pass/forcepoint-3.rtf
Executable file
File diff suppressed because one or more lines are too long
|
@ -2254,7 +2254,8 @@ void DomainMapper_Impl::PopShapeContext()
|
|||
if ( !m_aAnchoredStack.top().bToRemove )
|
||||
{
|
||||
RemoveLastParagraph();
|
||||
m_aTextAppendStack.pop();
|
||||
if (!m_aTextAppendStack.empty())
|
||||
m_aTextAppendStack.pop();
|
||||
}
|
||||
|
||||
uno::Reference< text::XTextContent > xObj = m_aAnchoredStack.top( ).xTextContent;
|
||||
|
|
Loading…
Reference in a new issue