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 | 53017497738e9edd88b480cfaf31a11d1701835d (patch) | |
tree | 55b60f290b9eab01dd1b770977c7e58873ab47e5 /oox | |
parent | 0ad8c011c745aa24244ffb459fe44f9115d4eb15 (diff) |
#i10000# fix for WAE
Notes
split repo tag: filters_ooo/DEV300_m80
Diffstat (limited to 'oox')
-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 58e2d27bcb78..31072fe449e5 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 ) |