sw/source/core/layout/layact.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7e32aec38ed386a01c522bbb5cf0e80dd924a815
Author:     Justin Luth <jl...@mail.com>
AuthorDate: Tue Dec 19 14:18:55 2023 -0500
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Wed Dec 20 04:24:38 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>

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;
         }

Reply via email to