Code

Do not remove color-profile elements during vacuum defs. Fixes bug #444225.
authorJon A. Cruz <jon@joncruz.org>
Fri, 2 Jul 2010 08:07:55 +0000 (01:07 -0700)
committerJon A. Cruz <jon@joncruz.org>
Fri, 2 Jul 2010 08:07:55 +0000 (01:07 -0700)
src/sp-object.cpp

index 3b0056b41c9cdf7a6431dd3fca1b98d34923cf9d..fd17b3c12f521daeb688391ae93946cbc7aefe6c 100644 (file)
@@ -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<SPPaintServer*>(this)->isSwatch() ) {
         // leave it
+    } else if (IS_COLORPROFILE(this)) {
+        // leave it
     } else {
         document->queueForOrphanCollection(this);