diff options
| author | MC Return <mc.return@gmx.net> | 2013-01-09 15:55:45 +0100 |
|---|---|---|
| committer | MC Return <mc.return@gmx.net> | 2013-01-09 15:55:45 +0100 |
| commit | c3201fab9eb56aa80969d57ce1c3b27d1bfc7c81 (patch) | |
| tree | 5fb828fcac41afd2a64d5ea6d4b7271f1cffe3d1 /unity-shared | |
| parent | 775ae17f566590a0ff581e57ec3a09f554f0ef75 (diff) | |
Removed assignment of 0.0 to xt and yt as this value is never used
(bzr r3022.1.11)
Diffstat (limited to 'unity-shared')
| -rwxr-xr-x | unity-shared/DashStyle.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/unity-shared/DashStyle.cpp b/unity-shared/DashStyle.cpp index c322ea151..09729a8f6 100755 --- a/unity-shared/DashStyle.cpp +++ b/unity-shared/DashStyle.cpp @@ -828,8 +828,6 @@ void Style::Impl::ButtonOutlinePath (cairo_t* cr, bool align) double y = 2.0; double w = cairo_image_surface_get_width(cairo_get_target(cr)) - 4.0; double h = cairo_image_surface_get_height(cairo_get_target(cr)) - 4.0; - double xt = 0.0; - double yt = 0.0; // - these absolute values are the "cost" of getting only a SVG from design // and not a generic formular how to approximate the curve-shape, thus @@ -837,8 +835,8 @@ void Style::Impl::ButtonOutlinePath (cairo_t* cr, bool align) double width = w - 22.18; double height = h - 24.0; - xt = x + width + 22.18; - yt = y + 12.0; + double xt = x + width + 22.18; + double yt = y + 12.0; if (align) { @@ -1098,8 +1096,6 @@ void Style::Impl::ButtonOutlinePathSegment(cairo_t* cr, Segment segment) double y = 2.0; double w = cairo_image_surface_get_width(cairo_get_target(cr)); double h = cairo_image_surface_get_height(cairo_get_target(cr)) - 4.0; - double xt = 0.0; - double yt = 0.0; // - these absolute values are the "cost" of getting only a SVG from design // and not a generic formular how to approximate the curve-shape, thus @@ -1107,8 +1103,8 @@ void Style::Impl::ButtonOutlinePathSegment(cairo_t* cr, Segment segment) double width = w - 22.18; double height = h - 24.0; - xt = x + width + 22.18; - yt = y + 12.0; + double xt = x + width + 22.18; + double yt = y + 12.0; switch (segment) { |
