diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:05:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:05:23 +0100 |
commit | bb60b49c3ad5203a657ebd0b2a10fa77fc6a9b05 (patch) | |
tree | ecb00a4921773bcae003d4f497d71a356019bf25 /include/formula/errorcodes.hxx | |
parent | e1c753da323a492397c6cdad5e2be7475da76170 (diff) |
More loplugin:cstylecast: formula
Change-Id: I0a6f4eaf49282a6aa74b24ea62736065d1786f58
Diffstat (limited to 'include/formula/errorcodes.hxx')
-rw-r--r-- | include/formula/errorcodes.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/formula/errorcodes.hxx b/include/formula/errorcodes.hxx index bb970a9b6718..41bffa4d9ef9 100644 --- a/include/formula/errorcodes.hxx +++ b/include/formula/errorcodes.hxx @@ -110,7 +110,7 @@ inline FormulaError GetDoubleErrorValue( double fVal ) // Another NAN, e.g. -nan(0x8000000000000) from calculating with -inf return FormulaError::IllegalFPOperation; // Any other error known to us as error code. - return (FormulaError)(nErr & 0x0000ffff); + return static_cast<FormulaError>(nErr & 0x0000ffff); } /** Error values that are accepted as detailed "#ERRxxx!" constants. |