diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 18:48:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 18:49:18 +0100 |
commit | cdb473b00a7d56c43df568708c069fa31a07f0a6 (patch) | |
tree | e049a9456cde2faf90d32450d318aa41e0bf5bc0 /vcl | |
parent | 62a8fa8fce9c7446a8ec95375b2001058d686619 (diff) |
Remove now unused tools/debug.hxx profiling functionality
Change-Id: I13adca8c2f929c8a9226b26ef57b26363dfdf0b3
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/dbggui.cxx | 21 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index 26010b555d9f..614b6c7bfda4 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -80,13 +80,6 @@ static const sal_Char* pDbgHelpText[] = "\nOther tests and macros\n", "------------------------------------------\n", "\n", -"Profiling\n", -"DBG_PROFSTART() / DBG_PROFSTOP() / DBG_PROFCONTINUE() / DBG_PROFPAUSE() " -"are evaluated and at the end of the program the number of run throughs " -"and the time this took (including calls to children) in milliseconds is " -"output. These macros can be used to check the same function runs over the " -"entire development period, for example the startup speed. The registered name " -"\n", "Resources\n", "In case of resource errors an error dialog is produced before the " "exception handler is called.\n", @@ -370,7 +363,6 @@ private: CheckBox maXtorTrace; GroupBox maBox1; - CheckBox maProf; CheckBox maRes; CheckBox maDialog; CheckBox maBoldAppFont; @@ -554,7 +546,6 @@ DbgDialog::DbgDialog() : maXtorReport( this ), maXtorTrace( this ), maBox1( this ), - maProf( this ), maRes( this ), maDialog( this ), maBoldAppFont( this ), @@ -636,15 +627,6 @@ DbgDialog::DbgDialog() : } { - maProf.Show(); - maProf.SetText("~Profiling"); - if ( pData->nTestFlags & DBG_TEST_PROFILING ) - maProf.Check( true ); - maProf.SetPosSizePixel( LogicToPixel( Point( 10, 95 ), aAppMap ), - aButtonSize ); - } - - { maRes.Show(); maRes.SetText("~Resourcen"); if ( pData->nTestFlags & DBG_TEST_RESOURCE ) @@ -885,9 +867,6 @@ IMPL_LINK( DbgDialog, ClickHdl, Button*, pButton ) if ( maXtorTrace.IsChecked() ) aData.nTestFlags |= DBG_TEST_XTOR_TRACE; - if ( maProf.IsChecked() ) - aData.nTestFlags |= DBG_TEST_PROFILING; - if ( maRes.IsChecked() ) aData.nTestFlags |= DBG_TEST_RESOURCE; diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 6d449df9a398..110e7d48344b 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -205,7 +205,6 @@ Application::~Application() DeInitSalData(); ImplGetSVData()->mpApp = NULL; ImplDestroySVData(); - GlobalDeInitTools(); } bool Application::QueryExit() |