Kaydet (Commit) 951dd781 authored tarafından Eike Rathke's avatar Eike Rathke

Turn assert into SAL_WARN

In the wild there are named expressions without expression and
formula error cells without formula.

Change-Id: I11546b09173de65cebe776529edee74c549d73c8
üst 578fa77e
......@@ -1195,7 +1195,10 @@ void ScDocument::CheckLinkFormulaNeedingCheck( const ScTokenArray& rCode )
}
else
{
assert(!"called with empty ScTokenArray");
// Possible with named expression without expression like Excel
// internal print ranges, obscure user define names, ... formula error
// cells without formula ...
SAL_WARN("sc.core","ScDocument::CheckLinkFormulaNeedingCheck - called with empty ScTokenArray");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment