diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-28 16:35:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-28 16:35:02 +0200 |
commit | b120adb290cee480516b14683f314318573c9d7e (patch) | |
tree | b7f7978d43ec5e3edeaeebe4ac1886817851829d /libreofficekit | |
parent | 2d2b392dcda5bdfab61a358dc1dd725d65fba07f (diff) |
libreofficekit: -Werror,-Wformat-security
Change-Id: I177ea091fb1061d9fa71f7fb1a84629128afd6a0
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 7ce27644125f..d13fb9b6fc99 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -1169,7 +1169,7 @@ openDocumentInThread (gpointer data) // FIXME: should have a GError parameter and populate it. char *pError = priv->m_pOffice->pClass->getError( priv->m_pOffice ); fprintf( stderr, "Error opening document '%s'\n", pError ); - g_task_return_new_error(task, 0, 0, pError); + g_task_return_new_error(task, 0, 0, "%s", pError); } else { |