consolidate the ugly code for getting SwDoc* to a function
I'm not quite sure why the code has to do it this complicated way, but at least it's just in one (ok, two) places. Additionally, it seems all those checks are needless paranoia, so just assert. Change-Id: I9f0d4ecc5aec6995eb66ae553a4bd92cc5450b86
Showing
Please
register
or
sign in
to comment