diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/color-profile.cpp | 5 | ||||
| -rw-r--r-- | src/color-profile.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp index 7c9e83e3c..c2267d827 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -103,8 +103,10 @@ static SPObjectClass *cprof_parent_class; class ColorProfileImpl { public: +#if ENABLE_LCMS static cmsHPROFILE _sRGBProf; static cmsHPROFILE _NullProf; +#endif // ENABLE_LCMS ColorProfileImpl(); @@ -125,8 +127,9 @@ public: #endif // ENABLE_LCMS }; -ColorProfileImpl::ColorProfileImpl() : +ColorProfileImpl::ColorProfileImpl() #if ENABLE_LCMS + : _profHandle(0), _profileClass(icSigInputClass), _profileSpace(icSigRgbData), diff --git a/src/color-profile.h b/src/color-profile.h index a1b83bbef..28096cd20 100644 --- a/src/color-profile.h +++ b/src/color-profile.h @@ -32,8 +32,9 @@ struct ColorProfileClass { /** Color Profile. */ struct ColorProfile : public SPObject { +#if ENABLE_LCMS friend cmsHPROFILE colorprofile_get_handle( SPDocument*, guint*, gchar const* ); - +#endif // ENABLE_LCMS static GType getType(); static void classInit( ColorProfileClass *klass ); |
