Replace some OSL_ENSURE with assert
...at least in the !IsEmpty() branch of XclExpString::WriteBufferToMem, pnMem is used in ways were being null would be undefined behavior, and the only place from which WriteHeaderToMem, WriteBufferToMem are called (lclAppend in sc/source/filter/excel/xeformula.cxx, via WriteToMem) will always pass a non- null argument anyway Change-Id: Iabc06b53ae6059246c5c222d43a789c6bdc440d5
Showing
Please
register
or
sign in
to comment