sw/source/core/layout/layact.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4dc47b93599793b4378992997f281ab6895262a6 Author: Justin Luth <[email protected]> AuthorDate: Tue Dec 19 14:18:55 2023 -0500 Commit: Xisco Fauli <[email protected]> CommitDate: Wed Dec 20 13:54:40 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 <[email protected]> (cherry picked from commit 2c92838583d59c543be136516db3de24b1613c93) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161017 Reviewed-by: Michael Stahl <[email protected]> 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; }
