summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-08-03 13:29:38 +0000
committerAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-08-03 13:29:38 +0000
commit35830f456cadaecf8b8e3944e3031a1a93f6cb41 (patch)
treeba17916532d0a53b6fe89279d02310539a174a34 /src/color-profile.cpp
parent* [INTL:zh_TW] Traditional Chinese translation update (fix) (diff)
downloadinkscape-35830f456cadaecf8b8e3944e3031a1a93f6cb41.tar.gz
inkscape-35830f456cadaecf8b8e3944e3031a1a93f6cb41.zip
Removed unused includes, decreased compilation time. Once again
(bzr r15034)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index aea9ccab0..e60fa8440 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
@@ -46,15 +44,14 @@
#include "inkscape.h"
#include "document.h"
#include "preferences.h"
-
+#include <glibmm/checksum.h>
+#include <glibmm/convert.h>
#include "uri.h"
#ifdef WIN32
#include <icm.h>
#endif // WIN32
-#include <glibmm/convert.h>
-
using Inkscape::ColorProfile;
using Inkscape::ColorProfileImpl;
@@ -589,9 +586,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 +617,6 @@ private:
cmsProfileClassSignature _profileClass;
};
-#include <iostream>
-
ProfileInfo::ProfileInfo( cmsHPROFILE prof, Glib::ustring const & path ) :
_path( path ),
_name( getNameFromProfile(prof) ),