I'd like to get this into libreoffice-3-4 - please double check for this sort of snafu, with OOB indexes now crashing where previously they returned null :-) It fixes half of the testtool startup problem.