diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-05-31 11:52:38 +0200 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-05-31 11:52:38 +0200 |
commit | 115ecbb37d0d33f954f0176717c75a5c36798ea9 (patch) | |
tree | 419e9101d909bf41ea5a0463964f3a5498d76d40 | |
parent | 12f4dd183e3cc04a23f0bab8b56ff5d059e33464 (diff) |
#i10000# fix for WAEooo/DEV300_m80
-rw-r--r-- | oox/source/helper/propertymap.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx index 54560dd7b..2bb5c1049 100644 --- a/oox/source/helper/propertymap.cxx +++ b/oox/source/helper/propertymap.cxx @@ -257,11 +257,11 @@ void PropertyMap::dump( Reference< XPropertySet > rXPropSet ) Any value = rXPropSet->getPropertyValue( props [i].Name ); OUString strValue; - sal_Int32 intValue; - sal_uInt32 uintValue; - sal_Int16 int16Value; - sal_uInt16 uint16Value; - bool boolValue; + sal_Int32 intValue = 0; + sal_uInt32 uintValue = 0; + sal_Int16 int16Value = 0; + sal_uInt16 uint16Value = 0; + bool boolValue = false; LineSpacing spacing; // RectanglePoint pointValue; WritingMode aWritingMode; @@ -269,9 +269,9 @@ void PropertyMap::dump( Reference< XPropertySet > rXPropSet ) if( value >>= strValue ) fprintf (stderr,"\"%s\"\n", USS( strValue ) ); 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_PRIdINT32" (hex: %"SAL_PRIxUINT32")\n", uintValue, uintValue); else if( value >>= int16Value ) fprintf (stderr,"%d (hex: %x)\n", int16Value, int16Value); else if( value >>= uint16Value ) |