There's a bug in OOo which make it crash if number of styles in a
document > 65535
http://qa.openoffice.org/issues/show_bug.cgi?id=84159
Seems like the problem is in the framework so it could potentially
affect other areas in a document. I am wondering if this can be
potential security problem too as it's a buffer overlow?