[Libreoffice-commits] .: sd/source

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Mon Aug 6 11:32:30 PDT 2012


 sd/source/ui/remotecontrol/ImagePreparer.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 770f581623ed0c7d31b9751ee789a72272b07c6c
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Mon Aug 6 22:31:16 2012 +0400

    -Werror=format-security
    
    Change-Id: Idb1267108a9eb8d08e1a14685a2f5c9a6263b46d

diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx
index 3555aee..06a8c6d 100644
--- a/sd/source/ui/remotecontrol/ImagePreparer.cxx
+++ b/sd/source/ui/remotecontrol/ImagePreparer.cxx
@@ -229,7 +229,7 @@ OString ImagePreparer::notesToHtml( sal_uInt32 aSlideNumber )
 
     OUString aFileURL;
     FileBase::createTempFile( 0, 0, &aFileURL );
-    fprintf( stderr, OUStringToOString( aFileURL, RTL_TEXTENCODING_UTF8).getStr() );
+    fprintf( stderr, "%s", OUStringToOString( aFileURL, RTL_TEXTENCODING_UTF8).getStr() );
 
     if ( !xController->isRunning() )
         return "";
@@ -460,4 +460,4 @@ sal_Bool ExportTo( uno::Reference< drawing::XDrawPage>& aNotesPage, String aUrl
     return sal_False;
 }
 
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list