diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwptools.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwptools.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwptools.hxx b/lotuswordpro/source/filter/lwptools.hxx index 584b418cba5a..42d9a55dc7fb 100644 --- a/lotuswordpro/source/filter/lwptools.hxx +++ b/lotuswordpro/source/filter/lwptools.hxx @@ -135,11 +135,11 @@ inline sal_Int32 LwpTools::ConvertToUnits(const double& fInch) } inline bool LwpTools::IsOddNumber(sal_uInt16& nNumber) { - return (nNumber%2)? true : false; + return (nNumber%2) != 0; } inline bool LwpTools::IsEvenNumber(sal_uInt16& nNumber) { - return (nNumber%2)? false : true; + return (nNumber%2) == 0; } class BadSeek : public std::runtime_error |