Mostly for historical reasons, LibreOffice has its own `SvMemoryStream` class (for, you guessed it, writing in-memory streams). For quite a while now, code in the PDF filter used that `SvMemoryStream` in a quite peculiar way: In various places, it would take a pointer to some bytes that had already been...