diff options
| author | Adrian Boguszewski <adrbogus1@student.pg.gda.pl> | 2016-07-28 11:26:17 +0000 |
|---|---|---|
| committer | Adrian Boguszewski <adrbogus1@student.pg.gda.pl> | 2016-07-28 11:26:17 +0000 |
| commit | 43b49e325db73cc19b1731db6c69545664ee8fbe (patch) | |
| tree | 56afe5de404c431fff2124f4789fd6e1655c0963 /src/color-profile.cpp | |
| parent | Fixed failed build (diff) | |
| download | inkscape-43b49e325db73cc19b1731db6c69545664ee8fbe.tar.gz inkscape-43b49e325db73cc19b1731db6c69545664ee8fbe.zip | |
Reverted changes to r15024 after many building problems
(bzr r15027)
Diffstat (limited to 'src/color-profile.cpp')
| -rw-r--r-- | src/color-profile.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp index d6ff50a2b..aea9ccab0 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -10,6 +10,7 @@ # include <gdkmm/color.h> #endif +#include <glibmm/checksum.h> #include <glib/gstdio.h> #include <fcntl.h> #include <glib/gi18n.h> @@ -20,6 +21,7 @@ #include <unistd.h> #include <cstring> +#include <string> #include <io/sys.h> #ifdef WIN32 @@ -51,6 +53,8 @@ #include <icm.h> #endif // WIN32 +#include <glibmm/convert.h> + using Inkscape::ColorProfile; using Inkscape::ColorProfileImpl; @@ -585,9 +589,9 @@ bool ColorProfile::GamutCheck(SPColor color) static_cast<guchar>(SP_RGBA32_B_U(val)), 255}; - cmsHTRANSFORM gamutCheck = ColorProfile::getTransfGamutCheck(); - if (gamutCheck) { - cmsDoTransform(gamutCheck, &check_color, &outofgamut, 1); + cmsHTRANSFORM gamutCheck = ColorProfile::getTransfGamutCheck();
+ if (gamutCheck) {
+ cmsDoTransform(gamutCheck, &check_color, &outofgamut, 1);
} #if HAVE_LIBLCMS1 @@ -616,6 +620,8 @@ private: cmsProfileClassSignature _profileClass; }; +#include <iostream> + ProfileInfo::ProfileInfo( cmsHPROFILE prof, Glib::ustring const & path ) : _path( path ), _name( getNameFromProfile(prof) ), |
