diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-04-27 22:15:27 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-04-27 22:15:27 +0000 |
| commit | 1963c876e1df4780d41252de325e8b19e0cedc3a (patch) | |
| tree | 0225d228c850bb8d9be7f7fb74bd9addfa1fcd9a /src/color-profile.cpp | |
| parent | various changes (diff) | |
| parent | modify bbox width for Blur filter in Fill & Stroke (Bug 1171208) (diff) | |
| download | inkscape-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.cpp | 6 |
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 |
