~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to libs/flake/svg/SvgShapeFactory.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-08-08 11:05:31 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120808110531-43wco1j5sdm8n47s
Tags: 1:2.5.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        if (href.startsWith("./")) {
66
66
            href.remove(0,2);
67
67
        }
68
 
        const QString mimetype = context.odfLoadingContext().mimeTypeForPath(href);
 
68
 
 
69
        QString mimetype = context.odfLoadingContext().mimeTypeForPath(href, true);
69
70
        return (mimetype == "image/svg+xml");
70
71
    }
71
72