I guess this is what author intended.
The other solution is to remove the copy.
--
Mariusz Dykerek
diff --git a/svtools/source/misc/filechangedchecker.cxx b/svtools/source/misc/filechangedchecker.cxx
index 514841f..7a99f15 100644
--- a/svtools/source/misc/filechangedchecker.cxx
+++ b/svtools/source/misc/filechangedchecker.cxx
@@ -83,7 +83,7 @@ bool FileChangedChecker::hasFileChanged()
// Check if the seconds time stamp has any difference
// If so, then our file has changed meanwhile
if( newTime.Seconds != mLastModTime.Seconds ||
- newTime.Seconds != mLastModTime.Seconds )
+ newTime.Minutes != mLastModTime.Minutes )
{
// Since the file has changed, set the new status as the file status and
// return True
Context
- [Libreoffice] [PATCH] Same expression on both sides of || in if condition at libreoffice -AT- lists.freedesktop.org (cppcheck) · Mariusz Dykierek
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.