From: Jon A. Cruz Date: Fri, 2 Jul 2010 08:07:55 +0000 (-0700) Subject: Do not remove color-profile elements during vacuum defs. Fixes bug #444225. X-Git-Url: https://git.tokkee.org/?p=inkscape.git;a=commitdiff_plain;h=d05799823d639c6ac55341d632120996b33aa8c3 Do not remove color-profile elements during vacuum defs. Fixes bug #444225. --- diff --git a/src/sp-object.cpp b/src/sp-object.cpp index 3b0056b41..fd17b3c12 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -38,6 +38,7 @@ #include "helper/sp-marshal.h" #include "xml/node-event-vector.h" #include "attributes.h" +#include "color-profile-fns.h" #include "document.h" #include "style.h" #include "sp-object-repr.h" @@ -549,6 +550,8 @@ void SPObject::requestOrphanCollection() { // leave it } else if (SP_IS_PAINT_SERVER(this) && static_cast(this)->isSwatch() ) { // leave it + } else if (IS_COLORPROFILE(this)) { + // leave it } else { document->queueForOrphanCollection(this);