Kaydet (Commit) 032e34d0 authored tarafından Miklos Vajna's avatar Miklos Vajna

tdf#96250 LOK: guard against 0 pRenderingArguments

Change-Id: Ifa39777795ce966662c31c891ffc1b9b1a297b00
üst 70bfd5d7
......@@ -2453,7 +2453,8 @@ lok_doc_view_open_document (LOKDocView* pDocView,
pLOEvent->m_pPath = pPath;
priv->m_aDocPath = pPath;
priv->m_aRenderingArguments = pRenderingArguments;
if (pRenderingArguments)
priv->m_aRenderingArguments = pRenderingArguments;
g_task_set_task_data(task, pLOEvent, LOEvent::destroy);
g_thread_pool_push(priv->lokThreadPool, g_object_ref(task), &error);
......
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