diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-06 07:58:08 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-06 07:58:08 +0100 |
commit | b3e64c3708fa19a87a0df31f6dbc4ea4753b23d6 (patch) | |
tree | 4c5042d7f6bc8e125ac45220bd185d7650aefba3 /drawinglayer | |
parent | 444ae4d04adf6c9cdcd1222ef3b8b2e5bf45db0a (diff) |
Some cppcheck cleaning
Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/tools/converters.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index 6e3493447c86..c4d5bc90fe8b 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -53,9 +53,8 @@ namespace drawinglayer if(nViewVisibleArea > nMaxQuadratPixels) { - double fReduceFactor(1.0); // reduce render size - fReduceFactor = sqrt((double)nMaxQuadratPixels / (double)nViewVisibleArea); + double fReduceFactor = sqrt((double)nMaxQuadratPixels / (double)nViewVisibleArea); nDiscreteWidth = basegfx::fround((double)nDiscreteWidth * fReduceFactor); nDiscreteHeight = basegfx::fround((double)nDiscreteHeight * fReduceFactor); |