sw/source/core/layout/layact.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7b147751b26c1a8af31c4b41a2a9db0cb70aa9b2 Author: Justin Luth <jl...@mail.com> AuthorDate: Tue Dec 19 14:18:55 2023 -0500 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Dec 20 10:46:05 2023 +0100 related tdf#111969 fix smart tags job not being fired, due to typo This fixes quikee's 7.5 regression commit 01396925b76011ffccb6eea40956a22d58de6f17 If this is a help document, we don't want to run smart tags, not the other way around. It was correct originally - assuming this was just a typo when the tests were pulled out into a function. Change-Id: Ie21ed256539ce242a7892c1ddc1556319fc45310 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161006 Tested-by: Jenkins Reviewed-by: Justin Luth <jl...@mail.com> (cherry picked from commit 2c92838583d59c543be136516db3de24b1613c93) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161015 Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index 84481981fd6e..747470129c96 100644 --- a/sw/source/core/layout/layact.cxx +++ b/sw/source/core/layout/layact.cxx @@ -2185,7 +2185,7 @@ bool SwLayIdle::isJobEnabled(IdleJobType eJob, const SwViewShell* pViewShell) case IdleJobType::SMART_TAGS: { const SwDoc* pDoc = pViewShell->GetDoc(); - if (!pDoc->GetDocShell()->IsHelpDocument() || pDoc->isXForms() || !SwSmartTagMgr::Get().IsSmartTagsEnabled()) + if (pDoc->GetDocShell()->IsHelpDocument() || pDoc->isXForms() || !SwSmartTagMgr::Get().IsSmartTagsEnabled()) return false; return true; }