diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 11:54:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 11:57:52 +0100 |
commit | dbf05f8eece93127407c28e1a3f7dda8ad29e564 (patch) | |
tree | a71d94c212b53c2037413c315704ff43cd189a0a /sc/source/filter/oox/unitconverter.cxx | |
parent | 6ba099a065b95dbf795a611382e18f3d93294db9 (diff) |
bool improvements
Change-Id: Id890cfe8767b1ee760bb2049191a5cfc356f1af8
Diffstat (limited to 'sc/source/filter/oox/unitconverter.cxx')
-rw-r--r-- | sc/source/filter/oox/unitconverter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/unitconverter.cxx b/sc/source/filter/oox/unitconverter.cxx index 55ba77fe15e3..775458758d27 100644 --- a/sc/source/filter/oox/unitconverter.cxx +++ b/sc/source/filter/oox/unitconverter.cxx @@ -53,7 +53,7 @@ const double MM100_PER_EMU = 1.0 / 360.0; // ---------------------------------------------------------------------------- /** Returns true, if the passed year is a leap year. */ -inline sal_Int32 lclIsLeapYear( sal_Int32 nYear ) +inline bool lclIsLeapYear( sal_Int32 nYear ) { return ((nYear % 4) == 0) && (((nYear % 100) != 0) || ((nYear % 400) == 0)); } |