summaryrefslogtreecommitdiff
path: root/cppcanvas
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 /cppcanvas
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 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx18
-rw-r--r--cppcanvas/source/mtfrenderer/polypolyaction.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx18
3 files changed, 20 insertions, 20 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 9f3635e02bae..663c47592048 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -243,7 +243,7 @@ namespace cppcanvas
namespace internal
{
// state stack manipulators
- // ------------------------
+
void VectorOfOutDevStates::clearStateStack()
{
m_aStates.clear();
@@ -527,7 +527,7 @@ namespace cppcanvas
// setup start/end color values
- // ----------------------------
+
// scale color coefficients with gradient intensities
const sal_uInt16 nStartIntensity( rGradient.GetStartIntensity() );
@@ -1143,7 +1143,7 @@ namespace cppcanvas
// sweep line implementation is done.
// general case: convert to polygon and clip
- // -----------------------------------------
+
// convert rect to polygon beforehand, must revert
// to general polygon clipping here.
@@ -1239,13 +1239,13 @@ namespace cppcanvas
switch( pCurrAct->GetType() )
{
- // ------------------------------------------------------------
+
// In the first part of this monster-switch, we
// handle all state-changing meta actions. These
// are all handled locally.
- // ------------------------------------------------------------
+
case META_PUSH_ACTION:
{
@@ -1534,14 +1534,14 @@ namespace cppcanvas
}
break;
- // ------------------------------------------------------------
+
// In the second part of this monster-switch, we
// handle all recursing meta actions. These are the
// ones generating a metafile by themselves, which is
// then processed by recursively calling this method.
- // ------------------------------------------------------------
+
case META_GRADIENT_ACTION:
{
@@ -1798,14 +1798,14 @@ namespace cppcanvas
}
break;
- // ------------------------------------------------------------
+
// In the third part of this monster-switch, we
// handle all 'acting' meta actions. These are all
// processed by constructing function objects for
// them, which will later ease caching.
- // ------------------------------------------------------------
+
case META_POINT_ACTION:
{
diff --git a/cppcanvas/source/mtfrenderer/polypolyaction.cxx b/cppcanvas/source/mtfrenderer/polypolyaction.cxx
index af08d65435b1..c86757847652 100644
--- a/cppcanvas/source/mtfrenderer/polypolyaction.cxx
+++ b/cppcanvas/source/mtfrenderer/polypolyaction.cxx
@@ -229,7 +229,7 @@ namespace cppcanvas
}
- // -------------------------------------------------------------------------------
+
class TexturedPolyPolyAction : public CachedPrimitiveBase
{
@@ -343,7 +343,7 @@ namespace cppcanvas
return 1;
}
- // -------------------------------------------------------------------------------
+
class StrokedPolyPolyAction : public CachedPrimitiveBase
{
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index 4cd4ab6dd30e..4e446648db6c 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -325,7 +325,7 @@ namespace cppcanvas
// adapt render state, to move text output to given offset
- // -------------------------------------------------------
+
// TODO(F1): Strictly speaking, we also have to adapt
// the clip here, which normally should _not_ move
@@ -352,7 +352,7 @@ namespace cppcanvas
// reduce DX array to given substring
- // ----------------------------------
+
const sal_Int32 nNewElements( rSubset.mnSubsetEnd - rSubset.mnSubsetBegin );
uno::Sequence< double > aAdaptedOffsets( nNewElements );
@@ -380,7 +380,7 @@ namespace cppcanvas
const uno::Reference< rendering::XTextLayout >& rOrigTextLayout )
{
// create temporary new text layout with subset string
- // ---------------------------------------------------
+
const sal_Int32 nNewStartPos( rOrigContext.StartPosition + ::std::min(
rSubset.mnSubsetBegin, rOrigContext.Length-1 ) );
@@ -611,7 +611,7 @@ namespace cppcanvas
}
- // -------------------------------------------------------------------------
+
class TextAction : public Action, private ::boost::noncopyable
{
@@ -764,7 +764,7 @@ namespace cppcanvas
}
- // -------------------------------------------------------------------------
+
class EffectTextAction :
public Action,
@@ -1005,7 +1005,7 @@ namespace cppcanvas
}
- // -------------------------------------------------------------------------
+
class TextArrayAction : public Action, private ::boost::noncopyable
{
@@ -1183,7 +1183,7 @@ namespace cppcanvas
}
- // -------------------------------------------------------------------------
+
class EffectTextArrayAction :
public Action,
@@ -1521,7 +1521,7 @@ namespace cppcanvas
}
- // -------------------------------------------------------------------------
+
class OutlineAction :
public Action,
@@ -2079,7 +2079,7 @@ namespace cppcanvas
} // namespace
- // ---------------------------------------------------------------------------------
+
ActionSharedPtr TextActionFactory::createTextAction( const ::Point& rStartPoint,
const ::Size& rReliefOffset,