Fix segfault in some files with foreign data stencils
Fix segfault in some files with foreign data stencils

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