summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-02-15 17:17:54 +0100
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-03-01 15:55:47 +0100
commitf9268924f10bbcb6515b2008af37b4920730f3cb (patch)
tree8ac7c8c147a0787add88c074171ed80e4e2bddb6 /sw/source/uibase
parenta427a46db0fa453acabe10389e106441031b317e (diff)
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.mehrbrodt@allotropia.de>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/utlui/gloslst.cxx2
1 files changed, 1 insertions, 1 deletions
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;