Related: fdo#37716 null pointer check for the unit test
This commit is contained in:
parent
444d04b60b
commit
ac8782bd51
1 changed files with 2 additions and 0 deletions
|
@ -754,6 +754,8 @@ bool RTFDocumentImpl::inFrame()
|
|||
|
||||
void RTFDocumentImpl::checkChangedFrame()
|
||||
{
|
||||
if (!getModelFactory().is())
|
||||
return;
|
||||
// Check if this is a frame.
|
||||
if (inFrame() && !m_bWasInFrame)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue