[Libreoffice-commits] core.git: libreofficekit/source
Pranav Kant
pranavk at collabora.co.uk
Wed Jul 13 06:50:20 UTC 2016
libreofficekit/source/gtk/lokdocview.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit a54d466edc456be5dfd5c695c6b99f570e228916
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Wed Jul 13 12:18:04 2016 +0530
lokdocview: This can be fired even without document
... so handle it and avoid the assert
Change-Id: Ib244746fabeaf41b5ca927d94fc4c3bda19bef26
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 34c2cae..613a909 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -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;
More information about the Libreoffice-commits
mailing list