diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-04 10:59:25 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-10-04 10:59:25 +0200 |
commit | 0261b2fc6d5c2858b7a8026d6fe3bc8ac5c271ad (patch) | |
tree | 3277b8e5b421e5464a7d29c80f9ac607a9cb9275 /basic | |
parent | fb3a1bb93aa6191cfac3b9ff1b2822b857536a1a (diff) |
printf without format considered harmful
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/app/msgedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/app/msgedit.cxx b/basic/source/app/msgedit.cxx index 5d004cd1cf7a..426394692176 100644 --- a/basic/source/app/msgedit.cxx +++ b/basic/source/app/msgedit.cxx @@ -217,7 +217,7 @@ void MsgEdit::AddAnyMsg( TTLogMsg *LogMsg ) // restore Original Msg LogMsg->aDebugData.aMsg = aOriginalMsg; - printf( ByteString( aPrintMsg, RTL_TEXTENCODING_UTF8 ).GetBuffer() ); + printf( "%s", ByteString( aPrintMsg, RTL_TEXTENCODING_UTF8 ).GetBuffer() ); } } } |