summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-27 22:15:27 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-27 22:15:27 +0000
commit1963c876e1df4780d41252de325e8b19e0cedc3a (patch)
tree0225d228c850bb8d9be7f7fb74bd9addfa1fcd9a /src/color-profile.cpp
parentvarious changes (diff)
parentmodify bbox width for Blur filter in Fill & Stroke (Bug 1171208) (diff)
downloadinkscape-1963c876e1df4780d41252de325e8b19e0cedc3a.tar.gz
inkscape-1963c876e1df4780d41252de325e8b19e0cedc3a.zip
Merged from trunk (r12305)
(bzr r11608.1.106)
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 6e9414074..57cf372a8 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -583,8 +583,6 @@ cmsHTRANSFORM ColorProfile::getTransfGamutCheck()
bool ColorProfile::GamutCheck(SPColor color)
{
- bool result = false;
-
guint32 val = color.toRGBA32(0);
#if HAVE_LIBLCMS1
@@ -615,9 +613,7 @@ bool ColorProfile::GamutCheck(SPColor color)
cmsSetAlarmCodes(oldAlarmCodes);
#endif // HAVE_LIBLCMS1
- result = (outofgamut != 0);
-
- return result;
+ return (outofgamut != 0);
}
class ProfileInfo