Related: fdo#37716 null pointer check for the unit test

This commit is contained in:
Miklos Vajna 2011-11-12 00:01:51 +01:00
parent 444d04b60b
commit ac8782bd51

View file

@ -754,6 +754,8 @@ bool RTFDocumentImpl::inFrame()
void RTFDocumentImpl::checkChangedFrame()
{
if (!getModelFactory().is())
return;
// Check if this is a frame.
if (inFrame() && !m_bWasInFrame)
{