diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-04-26 16:55:14 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-04-26 16:55:14 +0000 |
| commit | dccca32d43a1ec37bf8ca643c4672a377ec1dfe9 (patch) | |
| tree | ddc43e8c99f1bfe83175064ba2c3608a686b465c /src/color-profile.cpp | |
| parent | updating to previous po (diff) | |
| parent | translation typo (diff) | |
| download | inkscape-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.cpp | 6 |
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 |
