diff options
| author | Adrian Boguszewski <adrbogus1@student.pg.gda.pl> | 2016-07-28 10:06:06 +0000 |
|---|---|---|
| committer | Adrian Boguszewski <adrbogus1@student.pg.gda.pl> | 2016-07-28 10:06:06 +0000 |
| commit | f35bb1f74a0ffeb5c6477a25e3c4cde87a97bcf1 (patch) | |
| tree | 236cb1804e25c3962677d974324095a2195d34df /src/color-profile.cpp | |
| parent | CMake on Windows produces same output as btool. (diff) | |
| download | inkscape-f35bb1f74a0ffeb5c6477a25e3c4cde87a97bcf1.tar.gz inkscape-f35bb1f74a0ffeb5c6477a25e3c4cde87a97bcf1.zip | |
Removed unused includes, decrease compilation time
(bzr r15025)
Diffstat (limited to 'src/color-profile.cpp')
| -rw-r--r-- | src/color-profile.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp index aea9ccab0..d6ff50a2b 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -10,7 +10,6 @@ # include <gdkmm/color.h> #endif -#include <glibmm/checksum.h> #include <glib/gstdio.h> #include <fcntl.h> #include <glib/gi18n.h> @@ -21,7 +20,6 @@ #include <unistd.h> #include <cstring> -#include <string> #include <io/sys.h> #ifdef WIN32 @@ -53,8 +51,6 @@ #include <icm.h> #endif // WIN32 -#include <glibmm/convert.h> - using Inkscape::ColorProfile; using Inkscape::ColorProfileImpl; @@ -589,9 +585,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 @@ -620,8 +616,6 @@ private: cmsProfileClassSignature _profileClass; }; -#include <iostream> - ProfileInfo::ProfileInfo( cmsHPROFILE prof, Glib::ustring const & path ) : _path( path ), _name( getNameFromProfile(prof) ), |
