summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-04-26 16:55:14 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-04-26 16:55:14 +0000
commitdccca32d43a1ec37bf8ca643c4672a377ec1dfe9 (patch)
treeddc43e8c99f1bfe83175064ba2c3608a686b465c /src/color-profile.cpp
parentupdating to previous po (diff)
parenttranslation typo (diff)
downloadinkscape-dccca32d43a1ec37bf8ca643c4672a377ec1dfe9.tar.gz
inkscape-dccca32d43a1ec37bf8ca643c4672a377ec1dfe9.zip
update to trunk
(bzr r11950.1.107)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 14f88c77e..5fb84d8ac 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -619,8 +619,6 @@ cmsHTRANSFORM ColorProfile::getTransfGamutCheck()
bool ColorProfile::GamutCheck(SPColor color)
{
- bool result = false;
-
guint32 val = color.toRGBA32(0);
#if HAVE_LIBLCMS1
@@ -651,9 +649,7 @@ bool ColorProfile::GamutCheck(SPColor color)
cmsSetAlarmCodes(oldAlarmCodes);
#endif // HAVE_LIBLCMS1
- result = (outofgamut != 0);
-
- return result;
+ return (outofgamut != 0);
}
class ProfileInfo