diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-03-16 11:55:52 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-03-16 11:55:52 +0000 |
commit | 0fa0069218d88f69d72eddbf27e690c59822450a (patch) | |
tree | 0e4bc8abd949a48579d1f6d73f4961aa39398c88 | |
parent | 483052a5793e9a215e5892390ed4813121669bd2 (diff) |
INTEGRATION: CWS sixtyfour02 (1.6.192); FILE MERGED
2006/02/23 08:48:25 cmc 1.6.192.2: accidental commit
2006/02/21 14:58:45 cmc 1.6.192.1: #i62227# stream sal_uInt32 explicitly as is currently assumed implicitly
-rw-r--r-- | vcl/source/gdi/pngwrite.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx index a75834c234ca..a7e069505ad6 100644 --- a/vcl/source/gdi/pngwrite.cxx +++ b/vcl/source/gdi/pngwrite.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pngwrite.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-09 12:09:34 $ + * last change: $Author: vg $ $Date: 2006-03-16 12:55:52 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -268,8 +268,8 @@ sal_Bool PNGWriterImpl::Write( SvStream& rOStm ) /* png signature is always an array of 8 bytes */ sal_uInt16 nOldMode = rOStm.GetNumberFormatInt(); rOStm.SetNumberFormatInt( NUMBERFORMAT_INT_BIGENDIAN ); - rOStm << (ULONG)0x89504e47; - rOStm << (ULONG)0x0d0a1a0a; + rOStm << static_cast<sal_uInt32>(0x89504e47); + rOStm << static_cast<sal_uInt32>(0x0d0a1a0a); std::vector< vcl::PNGWriter::ChunkData >::iterator aBeg( maChunkSeq.begin() ); std::vector< vcl::PNGWriter::ChunkData >::iterator aEnd( maChunkSeq.end() ); |