libreofficekit/source/gtk/lokdocview.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 02b39996fa8447305900adad509250646c0a3b80 Author: Stephan Bergmann <[email protected]> Date: Tue Nov 3 22:20:45 2015 +0100 -Werror,-Wformat-security Change-Id: I23f4b906456fdba84f2772a4ed15ac6c141a094d diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 6a0adfa..82d119c 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, _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
