Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 302a64bf4069532a17c82e8442aeb0fb > files > 44

libreoffice-3.4.6.2-0.1.mga1.src.rpm

--- cpputools/source/unoexe/unoexe.cxx~	2010-11-11 20:09:04.000000000 +0100
+++ cpputools/source/unoexe/unoexe.cxx	2011-01-29 08:11:56.181565375 +0100
@@ -132,7 +132,7 @@
 static inline void out( const sal_Char * pText )
 {
     if (! s_quiet)
-        fprintf( stderr, pText );
+        fprintf( stderr, "%s", pText );
 }
 //--------------------------------------------------------------------------------------------------
 static inline void out( const OUString & rText )
--- cpputools/source/unoexe/unoexe.cxx~	2011-01-29 08:11:56.181565375 +0100
+++ cpputools/source/unoexe/unoexe.cxx	2011-01-29 08:16:24.607565393 +0100
@@ -140,7 +140,7 @@
     if (! s_quiet)
     {
         OString aText( OUStringToOString( rText, RTL_TEXTENCODING_ASCII_US ) );
-        fprintf( stderr, aText.getStr() );
+        fprintf( stderr, "%s", aText.getStr() );
     }
 }