diff options
Diffstat (limited to 'connectivity/source/commontools/dbconversion.cxx')
-rw-r--r-- | connectivity/source/commontools/dbconversion.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/commontools/dbconversion.cxx b/connectivity/source/commontools/dbconversion.cxx index 5be258a7e698..61abe27d84b8 100644 --- a/connectivity/source/commontools/dbconversion.cxx +++ b/connectivity/source/commontools/dbconversion.cxx @@ -151,10 +151,10 @@ namespace dbtools static bool implIsLeapYear(sal_Int32 _nYear) { - return ( ( ((_nYear % 4) == 0) - && ((_nYear % 100) != 0) - ) + return ( ((_nYear % 4) == 0) + && ((_nYear % 100) != 0) ) + || ((_nYear % 400) == 0) ; } |