The svError case is probably not worth a SAL_WARN
Also, sort the cases of that block in order of the enumerators. Change-Id: If46a4ff73d6f7d22bd54b74610eb6eebecd5aff0
This commit is contained in:
@@ -468,9 +468,10 @@ bool ScTokenConversion::ConvertToTokenSequence( const ScDocument& rDoc,
|
|||||||
default:
|
default:
|
||||||
SAL_WARN("sc", "ScTokenConversion::ConvertToTokenSequence: unhandled token type " << StackVarEnumToString(rToken.GetType()));
|
SAL_WARN("sc", "ScTokenConversion::ConvertToTokenSequence: unhandled token type " << StackVarEnumToString(rToken.GetType()));
|
||||||
SAL_FALLTHROUGH;
|
SAL_FALLTHROUGH;
|
||||||
case svSep: // occurs with ocSep, ocOpen, ocClose, ocArray*
|
|
||||||
case svJump: // occurs with ocIf, ocChoose
|
case svJump: // occurs with ocIf, ocChoose
|
||||||
|
case svError: // seems to be fairly common, and probably not exceptional and not worth a warning?
|
||||||
case svMissing: // occurs with ocMissing
|
case svMissing: // occurs with ocMissing
|
||||||
|
case svSep: // occurs with ocSep, ocOpen, ocClose, ocArray*
|
||||||
rAPI.Data.clear(); // no data
|
rAPI.Data.clear(); // no data
|
||||||
}
|
}
|
||||||
rAPI.OpCode = static_cast<sal_Int32>(eOpCode); //! assuming equal values for the moment
|
rAPI.OpCode = static_cast<sal_Int32>(eOpCode); //! assuming equal values for the moment
|
||||||
|
Reference in New Issue
Block a user