Kaydet (Commit) 1d2a140e authored tarafından Thomas Arnhold's avatar Thomas Arnhold

Move #ifdef DBG_UTIL to #if OSL_DEBUG_LEVEL > 1 for OSL_TRACE

üst 1c1dc47f
......@@ -162,7 +162,7 @@ void CmdBaseStream::Read (comm_USHORT &nNr)
comm_USHORT nId;
*pCommStream >> nId;
if (pCommStream->IsEof()) return;
#ifdef DBG_UTIL
#if OSL_DEBUG_LEVEL > 1
if (nId != BinUSHORT) OSL_TRACE( "Falscher Typ im Stream: Erwartet USHORT, gefunden :%hu", nId );
#endif
*pCommStream >> nNr;
......@@ -173,7 +173,7 @@ void CmdBaseStream::Read (comm_ULONG &nNr)
comm_USHORT nId;
*pCommStream >> nId;
if (pCommStream->IsEof()) return;
#ifdef DBG_UTIL
#if OSL_DEBUG_LEVEL > 1
if (nId != BinULONG) OSL_TRACE( "Falscher Typ im Stream: Erwartet ULONG, gefunden :%hu", nId );
#endif
*pCommStream >> nNr;
......@@ -183,7 +183,7 @@ void CmdBaseStream::Read (comm_UniChar* &aString, comm_USHORT &nLenInChars )
{
comm_USHORT nId;
*pCommStream >> nId;
#ifdef DBG_UTIL
#if OSL_DEBUG_LEVEL > 1
if (nId != BinString) OSL_TRACE( "Falscher Typ im Stream: Erwartet String, gefunden :%hu", nId );
#endif
......@@ -203,7 +203,7 @@ void CmdBaseStream::Read (comm_BOOL &bBool)
{
comm_USHORT nId;
*pCommStream >> nId;
#ifdef DBG_UTIL
#if OSL_DEBUG_LEVEL > 1
if (nId != BinBool) OSL_TRACE( "Falscher Typ im Stream: Erwartet BOOL, gefunden :%hu", nId );
#endif
*pCommStream >> bBool;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment