diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-07 11:37:15 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-11 23:46:25 +0100 |
commit | 1d2a140e1baa4160f0666491b8e80633b6611611 (patch) | |
tree | c763dc0a9f1e6fc46d62dd4d3f2e01dedd1ec0a0 /automation | |
parent | 1c1dc47f78e1efaff2d6079ed9f6a8458d1f5366 (diff) |
Move #ifdef DBG_UTIL to #if OSL_DEBUG_LEVEL > 1 for OSL_TRACE
Diffstat (limited to 'automation')
-rw-r--r-- | automation/source/server/cmdbasestream.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/automation/source/server/cmdbasestream.cxx b/automation/source/server/cmdbasestream.cxx index a147d5ea1547..65e4c96f33fb 100644 --- a/automation/source/server/cmdbasestream.cxx +++ b/automation/source/server/cmdbasestream.cxx @@ -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; |