diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-10-11 17:05:39 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-10-11 17:05:39 +0000 |
| commit | 60aeb869a2fe7980724b933484cb871c72078ca6 (patch) | |
| tree | 9fc4e10433fb4042fb0b80468a0609bf9157078d /src/document.cpp | |
| parent | Apply cx, cy, etc. from template to newly created document window. (diff) | |
| download | inkscape-60aeb869a2fe7980724b933484cb871c72078ca6.tar.gz inkscape-60aeb869a2fe7980724b933484cb871c72078ca6.zip | |
Fix "Argument with 'nonnull' attribute passed null" API bug in extension color parameter construction.
Clang static analyzer has found an "Argument with 'nonnull' attribute passed null".
The applied fix here checks if the defaulthex argument is nullptr before making the call. A default initialization value is added to the constructor in case defaulthex == nullptr.
(with additional whitespace improvements)
(bzr r13587)
Diffstat (limited to 'src/document.cpp')
0 files changed, 0 insertions, 0 deletions
