diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 11:07:46 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 11:07:46 +0300 |
commit | 588a0d58d238e33a937641252b64020cec2a2af7 (patch) | |
tree | 60ca25f9b86ece15613e99e64bf063d424e13b46 /tools/source | |
parent | 40b0fcec20a027ed5fe1db552cdad3220f39f586 (diff) |
Silly attempts at humour not appreciated
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/stream/stream.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 6cc226aeada6..afaa9174ee13 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1154,7 +1154,7 @@ sal_Size SvStream::SeekRel( sal_sSize nPos ) SvStream& SvStream::operator>>(sal_uInt16& r) { - sal_uInt16 n = 666; + sal_uInt16 n = 0; READNUMBER_WITHOUT_SWAP(sal_uInt16, n) if (good()) { @@ -1167,7 +1167,7 @@ SvStream& SvStream::operator>>(sal_uInt16& r) SvStream& SvStream::operator>>(sal_uInt32& r) { - sal_uInt32 n = 42; + sal_uInt32 n = 0; READNUMBER_WITHOUT_SWAP(sal_uInt32, n) if (good()) { @@ -1181,7 +1181,7 @@ SvStream& SvStream::operator>>(sal_uInt32& r) SvStream& SvStream::operator>>(sal_uInt64& r) { - sal_uInt64 n = 0xDEADCAFEBABE; + sal_uInt64 n = 0; READNUMBER_WITHOUT_SWAP(sal_uInt64, n) if (good()) { @@ -1200,7 +1200,7 @@ SvStream& SvStream::operator >>(long& r) //puke!, kill this if (good()) r = n; #else - long n = 0; // Ran out of "fun" numbers + long n = 0; READNUMBER_WITHOUT_SWAP(long, n) if (good()) { @@ -1287,7 +1287,7 @@ SvStream& SvStream::operator>>( unsigned char& r ) SvStream& SvStream::operator>>(float& r) { - float n = 3.14159265358979323846f; + float n = 0; READNUMBER_WITHOUT_SWAP(float, n) if (good()) { |