[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Thu Feb 5 06:29:48 PST 2015


 vcl/unx/gtk/a11y/atktextattributes.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8cf9b3359195f4f9f7e92f5db224a91cf994306
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 5 15:29:22 2015 +0100

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

diff --git a/vcl/unx/gtk/a11y/atktextattributes.cxx b/vcl/unx/gtk/a11y/atktextattributes.cxx
index 7855a69..4bf7d08 100644
--- a/vcl/unx/gtk/a11y/atktextattributes.cxx
+++ b/vcl/unx/gtk/a11y/atktextattributes.cxx
@@ -1235,7 +1235,7 @@ attribute_set_new_from_extended_attributes(
 
         pSet = attribute_set_prepend( pSet,
                                       atk_text_attribute_register( sPropertyName.getStr() ),
-                                      g_strdup_printf( sPropertyValue.getStr() ) );
+                                      g_strdup_printf( "%s", sPropertyValue.getStr() ) );
     }
     while ( nIndex >= 0 && nIndex < sExtendedAttrs.getLength() );
 


More information about the Libreoffice-commits mailing list