diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2015-02-14 00:31:54 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-02-17 06:15:54 +0000 |
commit | a8e6f0bea0e8bc028ee64d0b4d9046e52de94eda (patch) | |
tree | 49a2e34d88c5a0eb9d8a6a74e818d6597482fe36 /canvas | |
parent | a30e2cb912c6bae240ced35a392151e34090665b (diff) |
tdf#39440 - cppcheck cleanliness
Fixed some cppcheck defects
Change-Id: I25fd6aba9d76df98d20b9a1bb4c9d3c1bf6f84bb
Reviewed-on: https://gerrit.libreoffice.org/14487
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/workben/canvasdemo.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx index d32fe7080d39..cdf3acbd8b1e 100644 --- a/canvas/workben/canvasdemo.cxx +++ b/canvas/workben/canvasdemo.cxx @@ -462,8 +462,6 @@ class DemoRenderer //This stuff doesn't belong here, but probably in curves //This stuff doesn't work in VCL b/c vcl doesn't do beziers //Hah! Every time the window redraws, we do this - double ax; - double ay; double bx; double by; bx= gimmerand(); @@ -471,6 +469,8 @@ class DemoRenderer for (int i= 0; i < 1; i++) { + double ax; + double ay; //point a= point b; ax= bx; ay= by; |