most likley nobody has used that profiling code in years

Change-Id: I6ad7aea0d77b54509c3c919d0015f3a94118a398
This commit is contained in:
Markus Mohrhard
2014-03-28 00:08:56 +01:00
parent 46edb178cb
commit e7b79ef045

View File

@@ -2400,11 +2400,6 @@ void ChartView::impl_refreshAddIn()
void ChartView::createShapes()
{
#if OSL_DEBUG_LEVEL > 0
clock_t nStart = clock();
OSL_TRACE( "\nPPPPPPPPP>>>>>>>>>>>> chart view :: createShapes()" );
#endif
osl::ResettableMutexGuard aTimedGuard(maTimeMutex);
if(mrChartModel.isTimeBased())
{
@@ -2646,13 +2641,6 @@ void ChartView::createShapes()
{
maTimeBased.nFrame++;
}
#if OSL_DEBUG_LEVEL > 0
clock_t nEnd = clock();
double fDuration =(double(nEnd-nStart)*1000.0)/double(CLOCKS_PER_SEC);
OSL_TRACE( "\nPPPPPPPPP<<<<<<<<<<<< chart view :: createShapes():: needed %f msec", fDuration );
#endif
}
// util::XEventListener (base of XCloseListener)