summaryrefslogtreecommitdiff
path: root/canvas/source/vcl
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /canvas/source/vcl
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r--canvas/source/vcl/canvascustomsprite.cxx6
-rw-r--r--canvas/source/vcl/canvashelper_texturefill.cxx14
-rw-r--r--canvas/source/vcl/impltools.cxx2
3 files changed, 11 insertions, 11 deletions
diff --git a/canvas/source/vcl/canvascustomsprite.cxx b/canvas/source/vcl/canvascustomsprite.cxx
index 98339506642d..a70091b39d20 100644
--- a/canvas/source/vcl/canvascustomsprite.cxx
+++ b/canvas/source/vcl/canvascustomsprite.cxx
@@ -60,7 +60,7 @@ namespace vclcanvas
"CanvasCustomSprite::CanvasCustomSprite(): Invalid sprite canvas" );
// setup back buffer
- // -----------------
+
const ::Size aSize(
static_cast<sal_Int32>( ::std::max( 1.0,
@@ -94,7 +94,7 @@ namespace vclcanvas
// setup canvas helper
- // -------------------
+
// always render into back buffer, don't preserve state (it's
// our private VDev, after all), have notion of alpha
@@ -106,7 +106,7 @@ namespace vclcanvas
// setup sprite helper
- // -------------------
+
maSpriteHelper.init( rSpriteSize,
rOwningSpriteCanvas,
diff --git a/canvas/source/vcl/canvashelper_texturefill.cxx b/canvas/source/vcl/canvashelper_texturefill.cxx
index 455a474aeebe..1a68d423e1b8 100644
--- a/canvas/source/vcl/canvashelper_texturefill.cxx
+++ b/canvas/source/vcl/canvashelper_texturefill.cxx
@@ -176,7 +176,7 @@ namespace vclcanvas
// fill initial strip (extending two times the bound rect's
// diagonal to the 'left'
- // ------------------------------------------------------
+
// calculate left edge, by moving left edge of the
// gradient rect two times the bound rect's diagonal to
@@ -193,7 +193,7 @@ namespace vclcanvas
// iteratively render all other strips
- // -----------------------------------
+
// ensure that nStepCount matches color stop parity, to
// have a well-defined middle color e.g. for axial
@@ -245,7 +245,7 @@ namespace vclcanvas
// fill final strip (extending two times the bound rect's
// diagonal to the 'right'
- // ------------------------------------------------------
+
// copy right egde of polygon to left edge (and also
// copy the closing point)
@@ -306,7 +306,7 @@ namespace vclcanvas
// apply scaling (possibly anisotrophic) to inner polygon
- // ------------------------------------------------------
+
// scale inner polygon according to aspect ratio: for
// wider-than-tall bounds (nAspectRatio > 1.0), the inner
@@ -552,7 +552,7 @@ namespace vclcanvas
// mutex.
// calc step size
- // --------------
+
int nColorSteps = 0;
for( size_t i=0; i<rColors.size()-1; ++i )
nColorSteps += numColorSteps(rColors[i],rColors[i+1]);
@@ -575,7 +575,7 @@ namespace vclcanvas
if( tools::isRectangle( rPoly ) )
{
// use optimized output path
- // -------------------------
+
// this distinction really looks like a
// micro-optimisation, but in fact greatly speeds up
@@ -960,7 +960,7 @@ namespace vclcanvas
if( bRectangularPolygon )
{
// use optimized output path
- // -------------------------
+
// this distinction really looks like a
// micro-optimisation, but in fact greatly speeds up
diff --git a/canvas/source/vcl/impltools.cxx b/canvas/source/vcl/impltools.cxx
index 0dce58095324..d46ac3247861 100644
--- a/canvas/source/vcl/impltools.cxx
+++ b/canvas/source/vcl/impltools.cxx
@@ -169,7 +169,7 @@ namespace vclcanvas
// VCL-Canvas related
- //---------------------------------------------------------------------
+
::Point mapRealPoint2D( const geometry::RealPoint2D& rPoint,
const rendering::ViewState& rViewState,