Remove legacy DBG_PROFSART/STOP calls

...probably better done with callgrind, if still relevant at all.

Change-Id: I2be614c953d41625f7e11ee7881c2f897ee703d0
This commit is contained in:
Stephan Bergmann
2014-03-25 18:44:09 +01:00
parent 671f7130a3
commit 62a8fa8fce
4 changed files with 0 additions and 20 deletions

View File

@@ -189,8 +189,6 @@ extern bool bExecuteDrag;
static SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType );
DBG_NAME(edithdl)
class SwAnchorMarker
{
SdrHdl* pHdl;
@@ -576,8 +574,6 @@ void SwEditWin::UpdatePointer(const Point &rLPt, sal_uInt16 nModifier )
*/
IMPL_LINK_NOARG(SwEditWin, TimerHandler)
{
DBG_PROFSTART(edithdl);
SwWrtShell &rSh = m_rView.GetWrtShell();
Point aModPt( m_aMovePos );
const SwRect aOldVis( rSh.VisArea() );
@@ -625,7 +621,6 @@ IMPL_LINK_NOARG(SwEditWin, TimerHandler)
m_aMovePos += rSh.VisArea().Pos() - aOldVis.Pos();
JustifyAreaTimer();
DBG_PROFSTOP(edithdl);
return 0;
}

View File

@@ -135,8 +135,6 @@ SvxSearchDialog* SwView::m_pSrchDlg = 0;
SearchAttrItemList* SwView::m_pSrchList = 0;
SearchAttrItemList* SwView::m_pReplList = 0;
DBG_NAME(viewhdl)
inline SfxDispatcher &SwView::GetDispatcher()
{
return *GetViewFrame()->GetDispatcher();
@@ -517,12 +515,9 @@ IMPL_LINK_NOARG(SwView, AttrChangedNotify)
IMPL_LINK_NOARG(SwView, TimeoutHdl)
{
DBG_PROFSTART(viewhdl);
if( m_pWrtShell->BasicActionPend() || bNoInterrupt )
{
m_aTimer.Start();
DBG_PROFSTOP(viewhdl);
return 0;
}
@@ -542,7 +537,6 @@ IMPL_LINK_NOARG(SwView, TimeoutHdl)
m_bAttrChgNotified = sal_False;
GetViewImpl()->GetUNOObject_Impl()->NotifySelChanged();
DBG_PROFSTOP(viewhdl);
return 0;
}

View File

@@ -80,8 +80,6 @@ BitmapEx* SwViewShell::mpReplaceBmp = NULL;
bool bInSizeNotify = false;
DBG_NAME(LayoutIdle)
TYPEINIT0(SwViewShell);
using namespace ::com::sun::star;
@@ -654,8 +652,6 @@ void SwViewShell::LayoutIdle()
#endif
{
DBG_PROFSTART( LayoutIdle );
//Prepare and recover cache, so that it will not get fouled.
SwSaveSetLRUOfst aSave( *SwTxtFrm::GetTxtCache(),
SwTxtFrm::GetTxtCache()->GetCurMax() - 50 );
@@ -666,7 +662,6 @@ void SwViewShell::LayoutIdle()
if(!Imp())
return;
SwLayIdle aIdle( GetLayout(), Imp() );
DBG_PROFSTOP( LayoutIdle );
}
}

View File

@@ -384,8 +384,6 @@ static sal_uInt16 aPageRg[] = {
0
};
DBG_NAME(columnhdl)
void SwColumnPage::ResetColWidth()
{
if( nCols )
@@ -1133,7 +1131,6 @@ IMPL_LINK_NOARG(SwColumnPage, Down)
------------------------------------------------------------------------*/
void SwColumnPage::Timeout()
{
DBG_PROFSTART(columnhdl) ;
if(pModifiedField)
{
// find the changed column
@@ -1171,7 +1168,6 @@ void SwColumnPage::Timeout()
pModifiedField = 0;
}
Update();
DBG_PROFSTOP(columnhdl) ;
}
/*------------------------------------------------------------------------