diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 18:44:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 18:49:17 +0100 |
commit | 62a8fa8fce9c7446a8ec95375b2001058d686619 (patch) | |
tree | 57c820e7ba25be58dd71151d88bde3d90fa8f57b /sw | |
parent | 671f7130a34743322d9467a81c9d757333850244 (diff) |
Remove legacy DBG_PROFSART/STOP calls
...probably better done with callgrind, if still relevant at all.
Change-Id: I2be614c953d41625f7e11ee7881c2f897ee703d0
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/docvw/edtwin.cxx | 5 | ||||
-rw-r--r-- | sw/source/core/uibase/uiview/view.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 5 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 4 |
4 files changed, 0 insertions, 20 deletions
diff --git a/sw/source/core/uibase/docvw/edtwin.cxx b/sw/source/core/uibase/docvw/edtwin.cxx index e1947e35e823..75530245ff31 100644 --- a/sw/source/core/uibase/docvw/edtwin.cxx +++ b/sw/source/core/uibase/docvw/edtwin.cxx @@ -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; } diff --git a/sw/source/core/uibase/uiview/view.cxx b/sw/source/core/uibase/uiview/view.cxx index 75f11e4993ba..fdb8b5d43a8d 100644 --- a/sw/source/core/uibase/uiview/view.cxx +++ b/sw/source/core/uibase/uiview/view.cxx @@ -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; } diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 8c144f9912f3..998b5b038003 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -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 ); } } diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index 2ffe5262d429..53d4cb0da98e 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -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) ; } /*------------------------------------------------------------------------ |