Unify a bit the logic of different stream parser functions
Unify a bit the logic of different stream parser functions

LibreOffice/libvisio,sdteffen/libvisio,sdteffen/libvisio,LibreOffice/libvisio,sdteffen/libvisio,sdteffen/libvisio,LibreOffice/libvisio