tdf#96250 LOK: guard against 0 pRenderingArguments

Change-Id: Ifa39777795ce966662c31c891ffc1b9b1a297b00
This commit is contained in:
Miklos Vajna 2015-12-16 20:04:01 +01:00
parent 70bfd5d747
commit 032e34d001

View File

@ -2453,6 +2453,7 @@ lok_doc_view_open_document (LOKDocView* pDocView,
pLOEvent->m_pPath = pPath;
priv->m_aDocPath = pPath;
if (pRenderingArguments)
priv->m_aRenderingArguments = pRenderingArguments;
g_task_set_task_data(task, pLOEvent, LOEvent::destroy);