diff options
author | Gregor Hartmann <gh@openoffice.org> | 2002-05-29 06:27:13 +0000 |
---|---|---|
committer | Gregor Hartmann <gh@openoffice.org> | 2002-05-29 06:27:13 +0000 |
commit | 1d0d67d07db44ca5b4caf00b50e0aa13a86ed076 (patch) | |
tree | 4ad9369c6bd301baf08a1ed178d957a2379858da /tools | |
parent | b4a5bc33962d1957fbe3d6bd8161cc5646e3b3fb (diff) |
#98836#Assertion in Testtool
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/debug/debug.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index 91f4353a9ad1..86fca5f1a581 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -2,9 +2,9 @@ * * $RCSfile: debug.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2002-03-18 18:46:56 $ + * last change: $Author: gh $ $Date: 2002-05-29 07:22:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,7 +70,9 @@ #endif #include <time.h> +#if SUPD > 652 #include <stdarg.h> // include both to satisfy all compiler/platform +#endif #include <cstdarg> // combinations #include <stdlib.h> #include <string.h> @@ -1029,7 +1031,10 @@ void* DbgFunc( USHORT nAction, void* pParam ) if ( nAction == DBG_FUNC_GETDATA ) return (void*)&(pData->aDbgData); + else if ( nAction == DBG_FUNC_GETPRINTMSGBOX ) + return (void*)(pData->pDbgPrintMsgBox); else + { switch ( nAction ) { |