Kaydet (Commit) a54d466e authored tarafından Pranav Kant's avatar Pranav Kant

lokdocview: This can be fired even without document

... so handle it and avoid the assert

Change-Id: Ib244746fabeaf41b5ca927d94fc4c3bda19bef26
üst c9b4e298
......@@ -932,6 +932,11 @@ globalCallback (gpointer pData)
g_signal_emit (pCallback->m_pDocView, doc_view_signals[PASSWORD_REQUIRED], 0, pURL, bModify);
}
break;
case LOK_CALLBACK_ERROR:
{
reportError(pCallback->m_pDocView, pCallback->m_aPayload);
}
break;
default:
g_assert(false);
break;
......
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