135360
From c2a9d38653fb3732dd8dbece557443423ba4b956 Mon Sep 17 00:00:00 2001
135360
From: Stephan Bergmann <sbergman@redhat.com>
135360
Date: Tue, 3 Nov 2015 22:20:45 +0100
135360
Subject: [PATCH 272/398] -Werror,-Wformat-security
135360
135360
Change-Id: I23f4b906456fdba84f2772a4ed15ac6c141a094d
135360
(cherry picked from commit 02b39996fa8447305900adad509250646c0a3b80)
135360
---
135360
 libreofficekit/source/gtk/lokdocview.cxx | 4 ++--
135360
 1 file changed, 2 insertions(+), 2 deletions(-)
135360
135360
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
135360
index bcb1d136b749..9cf78a3f5429 100644
135360
--- a/libreofficekit/source/gtk/lokdocview.cxx
135360
+++ b/libreofficekit/source/gtk/lokdocview.cxx
135360
@@ -1530,7 +1530,7 @@ postCommandInThread (gpointer data)
135360
     priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId);
135360
     std::stringstream ss;
135360
     ss << "lok::Document::postUnoCommand(" << pLOEvent->m_pCommand << ", " << pLOEvent->m_pArguments << ")";
135360
-    g_info(ss.str().c_str());
135360
+    g_info("%s", ss.str().c_str());
135360
     priv->m_pDocument->pClass->postUnoCommand(priv->m_pDocument, pLOEvent->m_pCommand, pLOEvent->m_pArguments, pLOEvent->m_bNotifyWhenFinished);
135360
 }
135360
 
135360
@@ -1566,7 +1566,7 @@ paintTileInThread (gpointer data)
135360
         << aTileRectangle.x << ", " << aTileRectangle.y << ", "
135360
         << pixelToTwip(nTileSizePixels, pLOEvent->m_fPaintTileZoom) << ", "
135360
         << pixelToTwip(nTileSizePixels, pLOEvent->m_fPaintTileZoom) << ")";
135360
-    g_info(ss.str().c_str());
135360
+    g_info("%s", ss.str().c_str());
135360
     priv->m_pDocument->pClass->paintTile(priv->m_pDocument,
135360
                                          pBuffer,
135360
                                          nTileSizePixels, nTileSizePixels,
135360
-- 
135360
2.12.0
135360