summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp5
1 files changed, 4 insertions, 1 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),