/[packages]/cauldron/libreoffice/releases/3.3.1.2/1.mga1/SOURCES/libreoffice-fix-string.patch
ViewVC logotype

Contents of /cauldron/libreoffice/releases/3.3.1.2/1.mga1/SOURCES/libreoffice-fix-string.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 860 byte(s)
oops
1 --- cpputools/source/unoexe/unoexe.cxx~ 2010-11-11 20:09:04.000000000 +0100
2 +++ cpputools/source/unoexe/unoexe.cxx 2011-01-29 08:11:56.181565375 +0100
3 @@ -132,7 +132,7 @@
4 static inline void out( const sal_Char * pText )
5 {
6 if (! s_quiet)
7 - fprintf( stderr, pText );
8 + fprintf( stderr, "%s", pText );
9 }
10 //--------------------------------------------------------------------------------------------------
11 static inline void out( const OUString & rText )
12 --- cpputools/source/unoexe/unoexe.cxx~ 2011-01-29 08:11:56.181565375 +0100
13 +++ cpputools/source/unoexe/unoexe.cxx 2011-01-29 08:16:24.607565393 +0100
14 @@ -140,7 +140,7 @@
15 if (! s_quiet)
16 {
17 OString aText( OUStringToOString( rText, RTL_TEXTENCODING_ASCII_US ) );
18 - fprintf( stderr, aText.getStr() );
19 + fprintf( stderr, "%s", aText.getStr() );
20 }
21 }
22

  ViewVC Help
Powered by ViewVC 1.1.30