summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorNigel Hawkins <n.hawkins@gmx.com>2010-11-03 15:41:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-03 20:32:05 +0000
commite456a0804052a0ad0a4daef4fad9c5205bd7aa60 (patch)
tree92724b6637373633f497aa950218a47a4568e661 /cpputools
parent9bbe2716397c37f597aca71a9aad703e7e29b149 (diff)
ure: fix fprintf compile warnings in unoexe.cxx
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index 940b3a67cae3..7d73bb15be77 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -132,7 +132,7 @@ static sal_Bool s_quiet = false;
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 )
@@ -140,7 +140,7 @@ static inline void out( const OUString & rText )
if (! s_quiet)
{
OString aText( OUStringToOString( rText, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( stderr, aText.getStr() );
+ fprintf( stderr, "%s", aText.getStr() );
}
}