diff options
Diffstat (limited to 'vcl/source/app/dbggui.cxx')
-rw-r--r-- | vcl/source/app/dbggui.cxx | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index de610b39a09a..0cfe966a83f1 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -61,8 +61,6 @@ using namespace ::com::sun::star; - - static const sal_Char* pDbgHelpText[] = { "Object Test\n", @@ -275,11 +273,8 @@ static const sal_Char* pDbgHelpText[] = NULL }; - - namespace { - typedef ::std::map< OUString, DbgChannelId > UserDefinedChannels; UserDefinedChannels& ImplDbgGetUserDefinedChannels() { @@ -287,7 +282,6 @@ namespace return s_aChannels; } - void ImplAppendUserDefinedChannels( ListBox& rList ) { const UserDefinedChannels& rChannels = ImplDbgGetUserDefinedChannels(); @@ -301,7 +295,6 @@ namespace } } - void ImplSelectChannel( ListBox& rList, sal_uLong nChannelToSelect, sal_uInt16 nPositionOffset ) { if ( nChannelToSelect < DBG_OUT_USER_CHANNEL_0 ) @@ -330,12 +323,6 @@ namespace } } - - - -// - DbgWindow - - - #define DBGWIN_MAXLINES 100 class DbgWindow : public WorkWindow @@ -356,10 +343,6 @@ private: void GetAssertionEntryRange( sal_uInt16 nInbetweenEntry, sal_uInt16& nFirst, sal_uInt16& nLast ); }; - -// - DbgInfoDialog - - - class DbgInfoDialog : public ModalDialog { private: @@ -373,10 +356,6 @@ public: void SetInfoText( const OUString& rStr ); }; - -// - DbgDialog - - - class DbgDialog : public ModalDialog { private: @@ -425,13 +404,9 @@ public: void RequestHelp( const HelpEvent& rHEvt ); }; - - static sal_Char aDbgInfoBuf[12288]; static sal_Char aDbgOutBuf[DBG_BUF_MAXLEN]; - - DbgWindow::DbgWindow() : WorkWindow( NULL, WB_STDWORK ), maLstBox( this, WB_AUTOHSCROLL ) @@ -453,8 +428,6 @@ DbgWindow::DbgWindow() : Update(); } - - bool DbgWindow::Close() { // remember window position @@ -472,15 +445,11 @@ bool DbgWindow::Close() return true; } - - void DbgWindow::Resize() { maLstBox.SetSizePixel( GetOutputSizePixel() ); } - - void DbgWindow::GetAssertionEntryRange( sal_uInt16 nInbetweenEntry, sal_uInt16& nFirst, sal_uInt16& nLast ) { nFirst = nInbetweenEntry; @@ -500,8 +469,6 @@ void DbgWindow::GetAssertionEntryRange( sal_uInt16 nInbetweenEntry, sal_uInt16& } } - - bool DbgWindow::PreNotify( NotifyEvent& rNEvt ) { if ( rNEvt.GetType() == EVENT_COMMAND ) @@ -551,8 +518,6 @@ bool DbgWindow::PreNotify( NotifyEvent& rNEvt ) return WorkWindow::PreNotify( rNEvt ); } - - void DbgWindow::InsertLine( const OUString& rLine ) { OUString aStr = convertLineEnd(rLine, LINEEND_LF); @@ -580,8 +545,6 @@ void DbgWindow::InsertLine( const OUString& rLine ) maLstBox.Update(); } - - DbgDialog::DbgDialog() : ModalDialog( NULL, WB_STDMODAL | WB_SYSTEMWINDOW ), maXtorThis( this ), @@ -916,8 +879,6 @@ DbgDialog::DbgDialog() : } } - - IMPL_LINK( DbgDialog, ClickHdl, Button*, pButton ) { if ( pButton == &maOKButton ) @@ -1026,8 +987,6 @@ IMPL_LINK( DbgDialog, ClickHdl, Button*, pButton ) return 0; } - - void DbgDialog::RequestHelp( const HelpEvent& rHEvt ) { if ( rHEvt.GetMode() & HELPMODE_CONTEXT ) @@ -1046,8 +1005,6 @@ void DbgDialog::RequestHelp( const HelpEvent& rHEvt ) } } - - DbgInfoDialog::DbgInfoDialog( Window* pParent, bool bHelpText ) : ModalDialog( pParent, WB_STDMODAL ), maListBox( this, WB_BORDER | WB_AUTOHSCROLL ), @@ -1071,8 +1028,6 @@ DbgInfoDialog::DbgInfoDialog( Window* pParent, bool bHelpText ) : SetOutputSizePixel( Size( 640, 420 ) ); } - - void DbgInfoDialog::SetInfoText( const OUString& rStr ) { maListBox.SetUpdateMode( false ); @@ -1121,8 +1076,6 @@ void DbgInfoDialog::SetInfoText( const OUString& rStr ) maListBox.SetUpdateMode( true ); } - - void DbgDialogTest( Window* pWindow ) { bool aAccelBuf[65536] = {false}; @@ -1481,7 +1434,6 @@ void DbgDialogTest( Window* pWindow ) delete [] pRectAry; } - #ifndef WNT #define USE_VCL_MSGBOX #define COPY_BUTTON_ID 25 @@ -1612,8 +1564,6 @@ void DbgPrintMsgBox( const char* pLine ) DbgCoreDump(); } - - class SolarWindowPrinter : public ::vcl::SolarThreadExecutor { private: @@ -1642,8 +1592,6 @@ long SolarWindowPrinter::doIt() return 0L; } - - void DbgPrintWindow( const char* pLine ) { static bool bIn = false; @@ -1663,23 +1611,17 @@ void DbgPrintWindow( const char* pLine ) bIn = false; } - - void DbgAbort( char const * i_message ) { OUString const message( i_message, strlen( i_message ), osl_getThreadTextEncoding() ); Application::Abort( message ); } - - void ImplDbgTestSolarMutex() { assert(ImplGetSVData()->mpDefInst->CheckYieldMutex()); } - - void DbgGUIInit() { DbgSetPrintMsgBox( DbgPrintMsgBox ); @@ -1688,8 +1630,6 @@ void DbgGUIInit() DbgSetAbort( DbgAbort ); } - - void DbgGUIDeInit() { DbgSetPrintMsgBox( NULL ); @@ -1701,8 +1641,6 @@ void DbgGUIDeInit() delete pDbgWindow; } - - void DbgGUIStart() { DbgData* pData = DbgGetData(); |