Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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


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.