[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Tue Jan 7 12:35:05 PST 2014


 svx/source/accessibility/charmapacc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 94227ec32e4736d4a85e4d82be195eaef5ce45f1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 7 21:34:35 2014 +0100

    -Werror,-Wformat
    
    Change-Id: If251feecff0cef5af4cb8f28cc40f7cf65fc55ab

diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx
index 36f493f..4068de0 100644
--- a/svx/source/accessibility/charmapacc.cxx
+++ b/svx/source/accessibility/charmapacc.cxx
@@ -709,7 +709,7 @@ OUString SAL_CALL SvxShowCharSetItemAcc::getAccessibleDescription()
         c_Shifted >>= 4;
     }
     if( c < 256 )
-        snprintf( buf+6, 10, " (%d)", c );
+        snprintf( buf+6, 10, " (%" SAL_PRIuUINT32 ")", c );
     sDescription += " " + OUString(buf, strlen(buf), RTL_TEXTENCODING_ASCII_US);
 
     return sDescription;


More information about the Libreoffice-commits mailing list