[Libreoffice-commits] .: oox/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Wed Aug 1 07:51:50 PDT 2012


 oox/source/helper/propertymap.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e3c2e0fab67bbb812e8c693aab987fb5c374e5e0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Aug 1 16:51:39 2012 +0200

    -Werror,-Wformat
    
    Change-Id: Ie6fbcb1a11f47b54d3c697716b03f9891a1dea49

diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index 445125e..a7bace4 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -342,9 +342,9 @@ static void lclDumpAnyValue( Any value)
         } else if( value >>= aMatrix ) {
             fprintf (stderr,"Matrix\n%f %f %f\n%f %f %f\n%f %f %f\n", aMatrix.Line1.Column1, aMatrix.Line1.Column2, aMatrix.Line1.Column3, aMatrix.Line2.Column1, aMatrix.Line2.Column2, aMatrix.Line2.Column3, aMatrix.Line3.Column1, aMatrix.Line3.Column2, aMatrix.Line3.Column3);
         } else if( value >>= intValue )
-            fprintf (stderr,"%d            (hex: %x)\n", intValue, intValue);
+            fprintf (stderr,"%" SAL_PRIdINT32 "            (hex: %" SAL_PRIxUINT32 ")\n", intValue, intValue);
         else if( value >>= uintValue )
-            fprintf (stderr,"%d            (hex: %x)\n", uintValue, uintValue);
+            fprintf (stderr,"%" SAL_PRIuUINT32 "            (hex: %" SAL_PRIxUINT32 ")\n", uintValue, uintValue);
         else if( value >>= int16Value )
             fprintf (stderr,"%d            (hex: %x)\n", int16Value, int16Value);
         else if( value >>= uint16Value )


More information about the Libreoffice-commits mailing list