summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-12-01 12:04:36 +0000
committerRüdiger Timm <rt@openoffice.org>2003-12-01 12:04:36 +0000
commit76fa70c014d9f3f0dcafb2edc2e7c682fd80cd62 (patch)
tree69c80390336c2c8aff83f9193fc58cc9257ec93c /vcl/source/app
parent706af74f546db7d8f33d959c752b7ead3dae17cb (diff)
INTEGRATION: CWS vclcleanup01 (1.12.336); FILE MERGED
2003/11/28 07:32:21 mt 1.12.336.1: #i22952# Removed App Server code
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/dbggui.cxx34
1 files changed, 6 insertions, 28 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index a27b61303267..52b53305aabc 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbggui.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: ssa $ $Date: 2002-11-27 09:19:16 $
+ * last change: $Author: rt $ $Date: 2003-12-01 13:04:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,7 +59,7 @@
*
************************************************************************/
-#pragma hdrstop
+
#ifdef DBG_UTIL
@@ -1097,11 +1097,7 @@ DbgDialog::DbgDialog() :
}
{
-#ifdef REMOTE_APPSERVER
- SetText( XubString( RTL_CONSTASCII_USTRINGPARAM( "VCL Debug Options (Server)" ) ) );
-#else
SetText( XubString( RTL_CONSTASCII_USTRINGPARAM( "VCL Debug Options" ) ) );
-#endif
SetOutputSizePixel( LogicToPixel( Size( 340, 265 ), aAppMap ) );
}
}
@@ -1711,10 +1707,6 @@ void DbgPrintShell( const char* pLine );
void DbgPrintMsgBox( const char* pLine )
{
-#ifdef REMOTE_APPSERVER
- DbgPrintShell( pLine );
- return;
-#endif
if ( Application::IsDialogCancelEnabled() )
{
#if defined( WNT )
@@ -1738,7 +1730,6 @@ void DbgPrintMsgBox( const char* pLine )
#endif
}
-#ifndef REMOTE_APPSERVER
#ifdef UNX
sal_Bool bAcquire = Application::GetSolarMutex().tryToAcquire();
if (!bAcquire)
@@ -1748,7 +1739,6 @@ void DbgPrintMsgBox( const char* pLine )
return;
}
#endif
-#endif
strcpy( aDbgOutBuf, pLine );
strcat( aDbgOutBuf, "\nAbort ? (Yes=abort / No=ignore / Cancel=core dump)" );
@@ -1760,7 +1750,6 @@ void DbgPrintMsgBox( const char* pLine )
if ( pSVData->maWinData.mpCaptureWin )
pSVData->maWinData.mpCaptureWin->ReleaseMouse();
-#ifndef REMOTE_APPSERVER
#if defined( WNT )
BOOL bOldCallTimer = pSVData->mbNoCallTimer;
pSVData->mbNoCallTimer = TRUE;
@@ -1811,24 +1800,13 @@ void DbgPrintMsgBox( const char* pLine )
Application::SetSystemWindowMode( nOldMode );
short nRet = aBox.Execute();
#endif
-#else
- USHORT nOldMode = Application::GetSystemWindowMode();
- Application::SetSystemWindowMode( nOldMode & ~SYSTEMWINDOW_MODE_NOAUTOMODE );
- ErrorBox aBox( Application::GetAppWindow(), WB_YES_NO_CANCEL | WB_DEF_NO,
- UniString( aDbgOutBuf, RTL_TEXTENCODING_UTF8 ) );
- aBox.SetText( String( RTL_CONSTASCII_USTRINGPARAM("Debug Output (Server)") ) );
- Application::SetSystemWindowMode( nOldMode );
- short nRet = aBox.Execute();
-#endif
-#ifndef REMOTE_APPSERVER
#ifdef UNX
if (bAcquire)
{
Application::GetSolarMutex().release();
}
#endif
-#endif
if ( nRet == RET_YES )
GetpApp()->Abort( XubString( RTL_CONSTASCII_USTRINGPARAM( "Debug-Utilities-Error" ) ) );
@@ -1882,7 +1860,7 @@ void DbgPrintShell( const char* pLine )
// =======================================================================
-#if defined( REMOTE_APPSERVER ) || defined( WNT ) || defined( OS2 )
+#if defined( WNT ) || defined( OS2 )
void ImplDbgTestSolarMutex();
#endif
@@ -1893,7 +1871,7 @@ void DbgGUIInit()
DbgSetPrintMsgBox( DbgPrintMsgBox );
DbgSetPrintWindow( DbgPrintWindow );
DbgSetPrintShell( DbgPrintShell );
-#if defined( REMOTE_APPSERVER ) || defined( WNT ) || defined( OS2 )
+#if defined( WNT ) || defined( OS2 )
DbgSetTestSolarMutex( ImplDbgTestSolarMutex );
#endif
}
@@ -1905,7 +1883,7 @@ void DbgGUIDeInit()
DbgSetPrintMsgBox( NULL );
DbgSetPrintWindow( NULL );
DbgSetPrintShell( NULL );
-#if defined( REMOTE_APPSERVER ) || defined( WNT ) || defined( OS2 )
+#if defined( WNT ) || defined( OS2 )
DbgSetTestSolarMutex( NULL );
#endif