summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:05:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:05:23 +0100
commitbb60b49c3ad5203a657ebd0b2a10fa77fc6a9b05 (patch)
treeecb00a4921773bcae003d4f497d71a356019bf25 /include/formula
parente1c753da323a492397c6cdad5e2be7475da76170 (diff)
More loplugin:cstylecast: formula
Change-Id: I0a6f4eaf49282a6aa74b24ea62736065d1786f58
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/errorcodes.hxx2
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.
tr>2016-05-17change Gaelic [gd-GB] QuotationStart to U+2019Eike Rathke 2016-05-11convert MappingType to scoped enumNoel Grandin 2016-05-10Add SAL_FALLTHROUGH, where apparently appropriateStephan Bergmann 2016-05-10Replace fallthrough comments with new SAL_FALLTHROUGH macroStephan Bergmann 2016-04-28i18npool: fix Android buildMiklos Vajna 2016-04-28clang-tidy modernize-loop-convert in h-l/*Noel Grandin 2016-04-24unit test for tdf#99468Eike Rathke 2016-04-24Resolves: tdf#99468 do greedy '*' match if substring match is not allowedEike Rathke 2016-04-21loplugin:salbool: sal_Bool[] -> bool[]Stephan Bergmann 2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann 2016-04-18check API call argument valueEike Rathke 2016-04-18remove old commented out codeEike Rathke 2016-04-18clang-tidy performance-unnecessary-copy-initializationNoel Grandin 2016-04-12Avoid reserved identifiersStephan Bergmann 2016-04-12fix infinite loop in text search, tdf#99208Markus Mohrhard 2016-04-11tdf#99110 more improvements for formatting dates for uksunweb 2016-04-11tdf#99110 use the right caseDavid Tardon 2016-04-06tdf#99110 translate currency for ukDavid Tardon 2016-04-06tdf#99110 translate reserved words for ukDavid Tardon 2016-04-06tdf#99110 add genitive cases for months for ukDavid Tardon 2016-04-02cleanup: remove unused Reference.h(xx) includesJochen Nitschke 2016-03-24Revert "Text General inconsistent with cell formatting dlg", tdf#95385Eike Rathke 2016-03-17Text General inconsistent with cell formatting dlgRohan Kumar