f325b2
From 9e14d0d17a06e002b0729c710f6abe6b1d7ef220 Mon Sep 17 00:00:00 2001
f325b2
From: Stephan Bergmann <sbergman@redhat.com>
f325b2
Date: Tue, 3 Nov 2015 16:06:26 +0100
f325b2
Subject: [PATCH 268/398] -Werror,-Wformat-security
f325b2
f325b2
Change-Id: I34976a4900a73505a91d3e58736675ab39ad174c
f325b2
(cherry picked from commit 1347b90c9e5f54fd0b7e7147519f34d3c1b282d5)
f325b2
---
f325b2
 libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 +-
f325b2
 1 file changed, 1 insertion(+), 1 deletion(-)
f325b2
f325b2
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
f325b2
index 953eeb0f1db2..ae9f2600440c 100644
f325b2
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
f325b2
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
f325b2
@@ -264,7 +264,7 @@ gboolean TiledRowColumnBar::docConfigureEvent(GtkWidget* pDocView, GdkEventConfi
f325b2
         aCommand << "&height=" << int(lok_doc_view_pixel_to_twip(LOK_DOC_VIEW(pDocView), rWindow.m_pRowBar->m_nSizePixel));
f325b2
         std::stringstream ss;
f325b2
         ss << "lok::Document::getCommandValues(" << aCommand.str() << ")";
f325b2
-        g_info(ss.str().c_str());
f325b2
+        g_info("%s", ss.str().c_str());
f325b2
         char* pValues = pDocument->pClass->getCommandValues(pDocument, aCommand.str().c_str());
f325b2
         std::stringstream aStream(pValues);
f325b2
         free(pValues);
f325b2
-- 
f325b2
2.12.0
f325b2