summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGregor Hartmann <gh@openoffice.org>2002-05-29 06:27:13 +0000
committerGregor Hartmann <gh@openoffice.org>2002-05-29 06:27:13 +0000
commit1d0d67d07db44ca5b4caf00b50e0aa13a86ed076 (patch)
tree4ad9369c6bd301baf08a1ed178d957a2379858da /tools
parentb4a5bc33962d1957fbe3d6bd8161cc5646e3b3fb (diff)
#98836#Assertion in Testtool
Diffstat (limited to 'tools')
-rw-r--r--tools/source/debug/debug.cxx9
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 )
{