sw/source/core/layout/layact.cxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 58c383d40e5cfe5dbdb86c8ce2cab13e1a9b0273
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Wed Jul 28 11:01:59 2021 +0300
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Wed Jul 28 10:42:42 2021 +0200

    Revert "Add a few more ProfileZones"
    
    The output from these are events with zero or one microsecod duration
    in the overwhelming majority of cases and thus useless.
    
    This reverts commit ffcca583b856cd9d1f7f6fd373bfa617c49c1ef4.
    
    Change-Id: If8576b0432451a205ee7cae8a845e8ed17f3f347
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119583
    Tested-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 0c8ac383c6cb..04201e1c6f5e 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -40,7 +40,6 @@
 #include <sfx2/event.hxx>
 
 #include <ftnidx.hxx>
-#include <comphelper/profilezone.hxx>
 #include <vcl/svapp.hxx>
 #include <editeng/opaqitem.hxx>
 #include <SwSmartTagMgr.hxx>
@@ -321,8 +320,6 @@ bool SwLayAction::RemoveEmptyBrowserPages()
 
 void SwLayAction::Action(OutputDevice* pRenderContext)
 {
-    comphelper::ProfileZone("SwLayAction::Action");
-
     m_bActionInProgress = true;
 
     //TurboMode? Hands-off during idle-format
@@ -1176,8 +1173,6 @@ bool SwLayAction::IsShortCut( SwPageFrame *&prPage )
 // introduce support for vertical layout
 bool SwLayAction::FormatLayout( OutputDevice *pRenderContext, SwLayoutFrame 
*pLay, bool bAddRect )
 {
-    comphelper::ProfileZone("SwLayAction::FormatLayout");
-
     // save page for loop control
     if( pLay->IsPageFrame() && static_cast<SwPageFrame*>(pLay) != m_pCurPage )
     {
@@ -1601,8 +1596,6 @@ bool SwLayAction::FormatLayoutTab( SwTabFrame *pTab, bool 
bAddRect )
 
 bool SwLayAction::FormatContent( const SwPageFrame *pPage )
 {
-    comphelper::ProfileZone("SwLayAction::FormatContent");
-
     const SwContentFrame *pContent = pPage->ContainsContent();
     const SwViewShell *pSh = m_pRoot->GetCurrShell();
     const bool bBrowse = pSh && pSh->GetViewOptions()->getBrowseMode();
@@ -2136,8 +2129,6 @@ SwLayIdle::SwLayIdle( SwRootFrame *pRt, SwViewShellImp 
*pI ) :
     , m_bIndicator( false )
 #endif
 {
-    comphelper::ProfileZone("SwLayIdle::SwLayIdle");
-
     SAL_INFO("sw.idle", "SwLayIdle() entry");
 
     pImp->m_pIdleAct = this;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to