diff options
Diffstat (limited to 'src/color-profile.cpp')
| -rw-r--r-- | src/color-profile.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp index 63cb3addc..f1d89111d 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -184,6 +184,18 @@ cmsHPROFILE ColorProfileImpl::getNULLProfile() { #endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) + +#include "sp-factory.h" + +namespace { + SPObject* createColorProfile() { + return new Inkscape::ColorProfile(); + } + + bool rectRegistered = SPFactory::instance().registerObject("svg:color-profile", createColorProfile); +} + + /** * Register ColorProfile class and return its type. */ |
