Skip to content
Commit e0796fa7 authored by Thorsten Zachmann's avatar Thorsten Zachmann
Browse files

Fix loading of embedded svg graphics.

This fixes loading of draw:image of the type svg in case the mimetype is not provided as in the document
create by LO attached to the bug report. When the mime type is not found we try to guess it by the content
of the file. To do that we read the first 16K data and pass it to KMimeType. After we found out the mime
type we also set it so it is there for later usage.

BUG: 303587
REVIEW: 105589
parent c91c1e1d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment