diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-03 22:20:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-03 22:20:45 +0100 |
commit | 02b39996fa8447305900adad509250646c0a3b80 (patch) | |
tree | 911c4bb4d28a5469533a42604c21b42c95ae4067 /libreofficekit | |
parent | 7e16332de44d200cb86abeef0a47c495ff2cbcae (diff) |
-Werror,-Wformat-security
Change-Id: I23f4b906456fdba84f2772a4ed15ac6c141a094d
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 6a0adfafef66..82d119c262a8 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -1530,7 +1530,7 @@ postCommandInThread (gpointer data) priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId); std::stringstream ss; ss << "lok::Document::postUnoCommand(" << pLOEvent->m_pCommand << ", " << pLOEvent->m_pArguments << ")"; - g_info(ss.str().c_str()); + g_info("%s", ss.str().c_str()); priv->m_pDocument->pClass->postUnoCommand(priv->m_pDocument, pLOEvent->m_pCommand, pLOEvent->m_pArguments, pLOEvent->m_bNotifyWhenFinished); } @@ -1566,7 +1566,7 @@ paintTileInThread (gpointer data) << aTileRectangle.x << ", " << aTileRectangle.y << ", " << pixelToTwip(nTileSizePixels, pLOEvent->m_fPaintTileZoom) << ", " << pixelToTwip(nTileSizePixels, pLOEvent->m_fPaintTileZoom) << ")"; - g_info(ss.str().c_str()); + g_info("%s", ss.str().c_str()); priv->m_pDocument->pClass->paintTile(priv->m_pDocument, pBuffer, nTileSizePixels, nTileSizePixels, |