Kaydet (Commit) e390b5f4 authored tarafından Miklos Vajna's avatar Miklos Vajna Kaydeden (comit) David Tardon

tdf#96250 LOK: guard against 0 pRenderingArguments

(cherry picked from commit 032e34d0)

Change-Id: Ifa39777795ce966662c31c891ffc1b9b1a297b00
Reviewed-on: https://gerrit.libreoffice.org/20743Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst b2087af1
......@@ -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