More loplugin:cstylecast: formula
Change-Id: I0a6f4eaf49282a6aa74b24ea62736065d1786f58
This commit is contained in:
@@ -457,7 +457,7 @@ sal_Int32 FormulaDlg_Impl::GetFunctionPos(sal_Int32 nPos)
|
||||
const OUString aString = xParser->printFormula( aArgs, aRefPos);
|
||||
const sheet::FormulaToken* pNextToken = pIter + 1;
|
||||
|
||||
if ( !m_bUserMatrixFlag && FormulaCompiler::IsMatrixFunction((OpCode)eOp) )
|
||||
if ( !m_bUserMatrixFlag && FormulaCompiler::IsMatrixFunction(static_cast<OpCode>(eOp)) )
|
||||
{
|
||||
m_pBtnMatrix->Check();
|
||||
}
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user