Kaydet (Commit) 48a679cb authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: fdo#66496 don't crash on loading specific .docx

Change-Id: I4db5dfeb0ce1494039a051f552ce3f69b2b5dae3
üst 411e1802
...@@ -558,7 +558,7 @@ void DomainMapperTableManager::endLevel( ) ...@@ -558,7 +558,7 @@ void DomainMapperTableManager::endLevel( )
oCurrentWidth.reset(m_aCellWidths.back()->back()); oCurrentWidth.reset(m_aCellWidths.back()->back());
m_aCellWidths.pop_back( ); m_aCellWidths.pop_back( );
// And push it back to the right level. // And push it back to the right level.
if (oCurrentWidth) if (oCurrentWidth && !m_aCellWidths.empty() && !m_aCellWidths.back()->empty())
m_aCellWidths.back()->push_back(*oCurrentWidth); m_aCellWidths.back()->push_back(*oCurrentWidth);
m_nCell.pop_back( ); m_nCell.pop_back( );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment