Blob Blame History Raw
From 9e14d0d17a06e002b0729c710f6abe6b1d7ef220 Mon Sep 17 00:00:00 2001
From: Stephan Bergmann <sbergman@redhat.com>
Date: Tue, 3 Nov 2015 16:06:26 +0100
Subject: [PATCH 268/398] -Werror,-Wformat-security

Change-Id: I34976a4900a73505a91d3e58736675ab39ad174c
(cherry picked from commit 1347b90c9e5f54fd0b7e7147519f34d3c1b282d5)
---
 libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 953eeb0f1db2..ae9f2600440c 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -264,7 +264,7 @@ gboolean TiledRowColumnBar::docConfigureEvent(GtkWidget* pDocView, GdkEventConfi
         aCommand << "&height=" << int(lok_doc_view_pixel_to_twip(LOK_DOC_VIEW(pDocView), rWindow.m_pRowBar->m_nSizePixel));
         std::stringstream ss;
         ss << "lok::Document::getCommandValues(" << aCommand.str() << ")";
-        g_info(ss.str().c_str());
+        g_info("%s", ss.str().c_str());
         char* pValues = pDocument->pClass->getCommandValues(pDocument, aCommand.str().c_str());
         std::stringstream aStream(pValues);
         free(pValues);
-- 
2.12.0