summaryrefslogtreecommitdiff
path: root/basebmp
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 /basebmp
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 'basebmp')
-rw-r--r--basebmp/source/bitmapdevice.cxx34
-rw-r--r--basebmp/test/polytest.cxx6
2 files changed, 20 insertions, 20 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index f1d0c2b2ba3a..707559c828c9 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -207,13 +207,13 @@ namespace
alphamask_accessorselector_type,
Masks> alphamask_bitmap_type;
- // -------------------------------------------------------
+
typedef AccessorTraits< raw_accessor_type > raw_accessor_traits;
typedef typename uInt32Converter<
typename raw_accessor_type::value_type>::to to_uint32_functor;
- // -------------------------------------------------------
+
typedef typename raw_accessor_traits::xor_accessor raw_xor_accessor_type;
typedef AccessorTraits<raw_xor_accessor_type> raw_xor_accessor_traits;
@@ -221,7 +221,7 @@ namespace
raw_xor_accessor_type >::type xor_accessor_type;
typedef AccessorTraits<xor_accessor_type> xor_accessor_traits;
- // -------------------------------------------------------
+
typedef typename raw_accessor_traits::template masked_accessor<
mask_rawaccessor_type,
@@ -235,7 +235,7 @@ namespace
typedef typename accessor_selector::template wrap_accessor<
raw_maskedxor_accessor_type >::type masked_xoraccessor_type;
- // -------------------------------------------------------
+
// ((iter,mask),mask) special case (e.g. for clipped
// drawMaskedColor())
@@ -250,7 +250,7 @@ namespace
composite_iterator_type,
mask_iterator_type> composite_composite_mask_iterator_type;
- // -------------------------------------------------------
+
typedef ConstantColorBlendSetterAccessorAdapter<
dest_accessor_type,
@@ -263,7 +263,7 @@ namespace
mask_iterator_type,
Masks::clipmask_polarity>::type masked_colorblend_accessor_type;
- // -------------------------------------------------------
+
typedef ConstantColorBlendSetterAccessorAdapter<
dest_accessor_type,
@@ -276,14 +276,14 @@ namespace
mask_iterator_type,
Masks::clipmask_polarity>::type masked_colorblend_generic_accessor_type;
- // -------------------------------------------------------
+
typedef JoinImageAccessorAdapter< dest_accessor_type,
mask_rawaccessor_type > joined_image_accessor_type;
typedef JoinImageAccessorAdapter< GenericColorImageAccessor,
GenericColorImageAccessor > joined_generic_image_accessor_type;
- // -------------------------------------------------------
+
dest_iterator_type maBegin;
typename accessor_traits::color_lookup maColorLookup;
@@ -304,7 +304,7 @@ namespace
raw_maskedmask_accessor_type maRawMaskedMaskAccessor;
- // -------------------------------------------------------
+
BitmapRenderer( const basegfx::B2IBox& rBounds,
const basegfx::B2IVector& rBufferSize,
@@ -1609,7 +1609,7 @@ void BitmapDevice::drawMaskedColor( Color aSrcColor,
if( isSharedBuffer(rAlphaMask) )
{
// src == dest, copy rAlphaMask beforehand
- // ---------------------------------------------------
+
const basegfx::B2ITuple aSize( aSrcRange.getWidth(),
aSrcRange.getHeight() );
@@ -1662,7 +1662,7 @@ void BitmapDevice::drawMaskedColor( Color aSrcColor,
if( isSharedBuffer(rAlphaMask) )
{
// src == dest, copy rAlphaMask beforehand
- // ---------------------------------------------------
+
const basegfx::B2ITuple aSize( aSrcRange.getWidth(),
aSrcRange.getHeight() );
@@ -2002,7 +2002,7 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
switch( nScanlineFormat )
{
- // ----------------------------------------------------------------------
+
// one bit formats
case FORMAT_ONE_BIT_MSB_GREY:
@@ -2028,7 +2028,7 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
bitsPerPixel[nScanlineFormat], rDamage );
- // ----------------------------------------------------------------------
+
// four bit formats
case FORMAT_FOUR_BIT_MSB_GREY:
@@ -2054,7 +2054,7 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
bitsPerPixel[nScanlineFormat], rDamage );
- // ----------------------------------------------------------------------
+
// eight bit formats
case FORMAT_EIGHT_BIT_GREY:
@@ -2069,7 +2069,7 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
bitsPerPixel[nScanlineFormat], rDamage );
- // ----------------------------------------------------------------------
+
// sixteen bit formats
case FORMAT_SIXTEEN_BIT_LSB_TC_MASK:
@@ -2083,7 +2083,7 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
pFirstScanline, pMem, pPal, rDamage );
- // ----------------------------------------------------------------------
+
// twentyfour bit formats
case FORMAT_TWENTYFOUR_BIT_TC_MASK:
return createRenderer<PixelFormatTraits_BGR24,StdMasks>(
@@ -2091,7 +2091,7 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
pFirstScanline, pMem, pPal, rDamage );
- // ----------------------------------------------------------------------
+
// thirtytwo bit formats
case FORMAT_THIRTYTWO_BIT_TC_MASK_BGRA:
diff --git a/basebmp/test/polytest.cxx b/basebmp/test/polytest.cxx
index d91e6efefbaf..775364127ec7 100644
--- a/basebmp/test/polytest.cxx
+++ b/basebmp/test/polytest.cxx
@@ -62,7 +62,7 @@ private:
CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 0",
countPixel( rDevice, aCol ) == 0);
- // --------------------------------------------------
+
rDevice->clear(aBgCol);
aPoly.clear();
@@ -94,7 +94,7 @@ private:
CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 7",
countPixel( rDevice, aCol ) == 7);
- // --------------------------------------------------
+
rDevice->clear(aBgCol);
aPoly.clear();
@@ -108,7 +108,7 @@ private:
CPPUNIT_ASSERT_MESSAGE("number of rendered pixel is not 6",
countPixel( rDevice, aCol ) == 6);
- // --------------------------------------------------
+
rDevice->clear(aBgCol);
aPoly.clear();