summaryrefslogtreecommitdiff
path: root/libreofficekit/source
diff options
context:
space:
mode:
Diffstat (limited to 'libreofficekit/source')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 87b6ca06fad2..140479ba138a 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -1684,7 +1684,7 @@ openDocumentInThread (gpointer data)
if ( !priv->m_pDocument )
{
char *pError = priv->m_pOffice->pClass->getError( priv->m_pOffice );
- g_task_return_new_error(task, 0, 0, "%s", pError);
+ g_task_return_new_error(task, g_quark_from_static_string ("LOK error"), 0, "%s", pError);
}
else
{