sw/source/core/layout/layact.cxx | 9 +++++++++ 1 file changed, 9 insertions(+)
New commits: commit ffcca583b856cd9d1f7f6fd373bfa617c49c1ef4 Author: Tor Lillqvist <[email protected]> AuthorDate: Mon Jul 5 12:22:00 2021 +0300 Commit: Miklos Vajna <[email protected]> CommitDate: Tue Jul 20 11:23:59 2021 +0200 Add a few more ProfileZones Change-Id: Ic7f9630fb31a3fae147460cc5d406b4428b35812 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118406 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index 04201e1c6f5e..0c8ac383c6cb 100644 --- a/sw/source/core/layout/layact.cxx +++ b/sw/source/core/layout/layact.cxx @@ -40,6 +40,7 @@ #include <sfx2/event.hxx> #include <ftnidx.hxx> +#include <comphelper/profilezone.hxx> #include <vcl/svapp.hxx> #include <editeng/opaqitem.hxx> #include <SwSmartTagMgr.hxx> @@ -320,6 +321,8 @@ bool SwLayAction::RemoveEmptyBrowserPages() void SwLayAction::Action(OutputDevice* pRenderContext) { + comphelper::ProfileZone("SwLayAction::Action"); + m_bActionInProgress = true; //TurboMode? Hands-off during idle-format @@ -1173,6 +1176,8 @@ 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 ) { @@ -1596,6 +1601,8 @@ 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(); @@ -2129,6 +2136,8 @@ 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
