diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-18 18:54:25 +0000 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-18 18:54:25 +0000 |
| commit | 5a5b61fa8085a8c5eec59614834cb882d1d778e2 (patch) | |
| tree | 848df1de494bcdae296dcaf1de4a164cbaaec780 /src/object/sp-item.cpp | |
| parent | Run clang-tidy’s modernize-pass-by-value pass. (diff) | |
| download | inkscape-5a5b61fa8085a8c5eec59614834cb882d1d778e2.tar.gz inkscape-5a5b61fa8085a8c5eec59614834cb882d1d778e2.zip | |
Run clang-tidy’s modernize-use-bool-literals pass.
This makes it clearer whether an integer or a boolean has to be passed
in this specific call.
Diffstat (limited to 'src/object/sp-item.cpp')
| -rw-r--r-- | src/object/sp-item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp index 6e4a163dc..59ea0a554 100644 --- a/src/object/sp-item.cpp +++ b/src/object/sp-item.cpp @@ -1496,7 +1496,7 @@ void SPItem::doWriteTransform(Geom::Affine const &transform, Geom::Affine const } // endif(compensate) - gint preserve = prefs->getBool("/options/preservetransform/value", 0); + gint preserve = prefs->getBool("/options/preservetransform/value", false); Geom::Affine transform_attr (transform); // CPPIFY: check this code. |
