Review Request 111363: Make loading of colors in colorsets more tolerant to bogus values

Sven Langkamp sven.langkamp at gmail.com
Tue Jul 2 15:37:57 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111363/
-----------------------------------------------------------

Review request for Calligra.


Description
-------

In the .gpl colorset files it might happen that an application save a value like 256, which is out of bounds. In that case the values is now set to 255, instead of aborting the loading.


This addresses bug 318345.
    http://bugs.kde.org/show_bug.cgi?id=318345


Diffs
-----

  libs/pigment/resources/KoColorSet.h eb28db0 
  libs/pigment/resources/KoColorSet.cpp 2367631 

Diff: http://git.reviewboard.kde.org/r/111363/diff/


Testing
-------

Tested in Krita.


Thanks,

Sven Langkamp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20130702/2797427e/attachment.htm>


More information about the calligra-devel mailing list