From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- src/tools/qdatastream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/qdatastream.cpp') diff --git a/src/tools/qdatastream.cpp b/src/tools/qdatastream.cpp index 3359d68bc..deab90bb6 100644 --- a/src/tools/qdatastream.cpp +++ b/src/tools/qdatastream.cpp @@ -810,7 +810,7 @@ TQDataStream &TQDataStream::readBytes( char *&s, uint &l ) return *this; } else { s = new char[len]; // create char array - Q_CHECK_PTR( s ); + TQ_CHECK_PTR( s ); if ( !s ) // no memory return *this; return readRawBytes( s, (uint)len ); @@ -1115,7 +1115,7 @@ TQDataStream &TQDataStream::operator<<( const char *s ) *this << (Q_UINT32)0; return *this; } - uint len = qstrlen( s ) + 1; // also write null terminator + uint len = tqstrlen( s ) + 1; // also write null terminator *this << (Q_UINT32)len; // write length specifier return writeRawBytes( s, len ); } -- cgit v1.2.1