sw/source/uibase/utlui/gloslst.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f9268924f10bbcb6515b2008af37b4920730f3cb Author: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> AuthorDate: Tue Feb 15 17:17:54 2022 +0100 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Tue Mar 1 15:55:47 2022 +0100 Try to fix .bau files being ignored In some circumstances it might happen that one .bau file gets replaced with another one, but the "new" one has an older timestamp than the "old" one. In this case, the .bau file will not be recognized as changed. So instead of checking for a newer timestamp, check for a different timestamp. Change-Id: I4248fb283d4399a8501a979cae7e6bcc6d8e8a2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130243 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> diff --git a/sw/source/uibase/utlui/gloslst.cxx b/sw/source/uibase/utlui/gloslst.cxx index 35d0f80e50c2..a1a68a9771d9 100644 --- a/sw/source/uibase/utlui/gloslst.cxx +++ b/sw/source/uibase/utlui/gloslst.cxx @@ -298,7 +298,7 @@ void SwGlossaryList::Update() m_aGroupArr.push_back(std::unique_ptr<AutoTextGroup>(pFound)); } - else if( pFound->aDateModified < rDT ) + else if( pFound->aDateModified != rDT ) { FillGroup(pFound, pGlossaries); pFound->aDateModified = rDT;