abi#4817 attempt to access an element in an empty container
Change-Id: Ic51ef8b3db182dd34195c9bb808170d20953d406
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
{\rtf1
|
||||||
|
\super
|
||||||
|
{
|
||||||
|
\par
|
||||||
|
\par }
|
||||||
|
}
|
@@ -4591,7 +4591,7 @@ int RTFDocumentImpl::popState()
|
|||||||
|
|
||||||
if (aState.pCurrentBuffer == &m_aSuperBuffer)
|
if (aState.pCurrentBuffer == &m_aSuperBuffer)
|
||||||
{
|
{
|
||||||
OSL_ASSERT(m_aStates.top().pCurrentBuffer == 0);
|
OSL_ASSERT(!m_aStates.empty() && m_aStates.top().pCurrentBuffer == 0);
|
||||||
|
|
||||||
if (!m_bHasFootnote)
|
if (!m_bHasFootnote)
|
||||||
replayBuffer(m_aSuperBuffer);
|
replayBuffer(m_aSuperBuffer);
|
||||||
|
Reference in New Issue
Block a user