diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-07-02 08:07:55 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-07-02 08:07:55 +0000 |
| commit | 15b2e7f906a311fe2d7e2ff4e4b35c1f00361333 (patch) | |
| tree | b2255c9784828b8dce3531ea902756a51a611ed1 /src | |
| parent | Leave swatches when doing a vacuum pass. Fixes bug #594445. (diff) | |
| download | inkscape-15b2e7f906a311fe2d7e2ff4e4b35c1f00361333.tar.gz inkscape-15b2e7f906a311fe2d7e2ff4e4b35c1f00361333.zip | |
Do not remove color-profile elements during vacuum defs. Fixes bug #444225.
Fixed bugs:
- https://launchpad.net/bugs/444225
(bzr r9552)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-object.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<SPPaintServer*>(this)->isSwatch() ) { // leave it + } else if (IS_COLORPROFILE(this)) { + // leave it } else { document->queueForOrphanCollection(this); |
