diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-09-29 07:22:11 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-09-29 07:22:11 +0000 |
| commit | d9cecf4da5777c4b2c131adf4a87742a87aa9cce (patch) | |
| tree | ec94c67d3ec3ac3897848e7b2b765f5e3c693a53 /src/display/sodipodi-ctrl.cpp | |
| parent | cdr import via uniconvertor (diff) | |
| download | inkscape-d9cecf4da5777c4b2c131adf4a87742a87aa9cce.tar.gz inkscape-d9cecf4da5777c4b2c131adf4a87742a87aa9cce.zip | |
noop: CodingStyle: const placement
(bzr r3815)
Diffstat (limited to 'src/display/sodipodi-ctrl.cpp')
| -rw-r--r-- | src/display/sodipodi-ctrl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display/sodipodi-ctrl.cpp b/src/display/sodipodi-ctrl.cpp index 27f53633c..fd655edb0 100644 --- a/src/display/sodipodi-ctrl.cpp +++ b/src/display/sodipodi-ctrl.cpp @@ -44,7 +44,7 @@ sp_ctrl_get_type (void) { static GtkType ctrl_type = 0; if (!ctrl_type) { - static const GTypeInfo ctrl_info = { + static GTypeInfo const ctrl_info = { sizeof (SPCtrlClass), NULL, /* base_init */ NULL, /* base_finalize */ @@ -266,8 +266,8 @@ sp_ctrl_point (SPCanvasItem *item, NR::Point p, SPCanvasItem **actual_item) *actual_item = item; - const double x = p[NR::X]; - const double y = p[NR::Y]; + double const x = p[NR::X]; + double const y = p[NR::Y]; if ((x >= ctrl->box.x0) && (x <= ctrl->box.x1) && (y >= ctrl->box.y0) && (y <= ctrl->box.y1)) return 0.0; |
