[Libreoffice-commits] .: svtools/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Jan 23 04:53:46 PST 2012


 svtools/source/misc/filechangedchecker.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1bc228f769be2999c10beefe224517804bb0316c
Author: Mariusz Dykierek <mariuszdykierek at gmail.com>
Date:   Mon Jan 23 12:52:55 2012 +0000

    Same expression on both sides of || in if condition

diff --git a/svtools/source/misc/filechangedchecker.cxx b/svtools/source/misc/filechangedchecker.cxx
index 514841f..50d73da 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.Nanosec != mLastModTime.Nanosec )
     {
         // Since the file has changed, set the new status as the file status and
         // return True


More information about the Libreoffice-commits mailing list