summaryrefslogtreecommitdiff
path: root/svtools/bmpmaker/bmpsum.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-22 11:00:43 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-22 11:00:43 +0000
commit64a76e47117989acd1d14e137fb1ed538d06bfc3 (patch)
tree5dce4d2e31868c9cf009e169dc419cf7222cbf44 /svtools/bmpmaker/bmpsum.cxx
parent3ab35a725d3cbbc67a1290b819da9cf3c4c95c30 (diff)
INTEGRATION: CWS sb81 (1.11.198); FILE MERGED
2007/11/05 08:50:15 sb 1.11.198.1: #i83263# Portable fprintf family conversion specifications.
Diffstat (limited to 'svtools/bmpmaker/bmpsum.cxx')
-rw-r--r--svtools/bmpmaker/bmpsum.cxx16
1 files changed, 4 insertions, 12 deletions
diff --git a/svtools/bmpmaker/bmpsum.cxx b/svtools/bmpmaker/bmpsum.cxx
index 1c566e9b54d7..5365ce51bb3b 100644
--- a/svtools/bmpmaker/bmpsum.cxx
+++ b/svtools/bmpmaker/bmpsum.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: bmpsum.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: vg $ $Date: 2007-04-11 18:24:14 $
+ * last change: $Author: ihi $ $Date: 2007-11-22 12:00:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -276,11 +276,7 @@ void BmpSum::ProcessFile( const String& rBmpFileName )
if( !aBmp.IsEmpty() )
{
-#ifdef WNT
- fprintf( stdout, "%I64u\r\n", GetCRC( aBmp ) );
-#else
- fprintf( stdout, "%llu\r\n", GetCRC( aBmp ) );
-#endif
+ fprintf( stdout, "%" SAL_PRIuUINT64 "\r\n", GetCRC( aBmp ) );
}
else
{
@@ -293,11 +289,7 @@ void BmpSum::ProcessFile( const String& rBmpFileName )
if( !aBmp.IsEmpty() )
{
-#ifdef WNT
- fprintf( stdout, "%I64u\r\n", GetCRC( aBmp ) );
-#else
- fprintf( stdout, "%llu\r\n", GetCRC( aBmp ) );
-#endif
+ fprintf( stdout, "%" SAL_PRIuUINT64 "\r\n", GetCRC( aBmp ) );
}
else
Message( String( RTL_CONSTASCII_USTRINGPARAM( "file not valid" ) ), EXIT_INVALIDFILE );