summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2013-04-27 18:23:29 +0000
committer~suv <suv-sf@users.sourceforge.net>2013-04-27 18:23:29 +0000
commitb96a42f69c88422e0df06c9d664cf242e7dfdec5 (patch)
tree3a3f984020bef55f3c8e1cc7b4cf9a242164fc33 /src/color-profile.cpp
parentmerge from trunk (r12281) (diff)
parentmodify bbox width for Blur filter in Fill & Stroke (Bug 1171208) (diff)
downloadinkscape-b96a42f69c88422e0df06c9d664cf242e7dfdec5.tar.gz
inkscape-b96a42f69c88422e0df06c9d664cf242e7dfdec5.zip
merge from trunk (r12305)
(bzr r11668.1.68)
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