Revision e0796fa...

Go back to digest for 22nd July 2012

Bug Fixes in Office

Thorsten Zachmann committed changes in [calligra] /:

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.


REVIEW: 105589

File Changes

Modified 3 files
  •   libs/odf/KoOdfLoadingContext.cpp
  •   libs/odf/KoOdfLoadingContext.h
  •   libs/flake/svg/SvgShapeFactory.cpp
3 files changed in total