libreofficekit/source/gtk/lokdocview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b120adb290cee480516b14683f314318573c9d7e Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Tue Jul 28 16:35:02 2015 +0200 libreofficekit: -Werror,-Wformat-security Change-Id: I177ea091fb1061d9fa71f7fb1a84629128afd6a0 diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 7ce2764..d13fb9b 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 { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits