[Libreoffice-commits] core.git: libreofficekit/qa

Stephan Bergmann sbergman at redhat.com
Tue Nov 3 07:06:54 PST 2015


 libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1347b90c9e5f54fd0b7e7147519f34d3c1b282d5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 3 16:06:26 2015 +0100

    -Werror,-Wformat-security
    
    Change-Id: I34976a4900a73505a91d3e58736675ab39ad174c

diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index fb05477..2ba6866 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);


More information about the Libreoffice-commits mailing list