summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 18:16:42 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 08:18:05 +0000
commita238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch)
tree083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /cppcanvas
parent538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff)
Remove excess newlines
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx1
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx5
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.cxx1
-rw-r--r--cppcanvas/source/mtfrenderer/polypolyaction.cxx3
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx15
-rw-r--r--cppcanvas/source/wrapper/implspritecanvas.cxx1
6 files changed, 0 insertions, 26 deletions
diff --git a/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx b/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
index 02de8589db73..8ffa1c6ab862 100644
--- a/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
+++ b/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
@@ -18,7 +18,6 @@
*/
-
#include <com/sun/star/rendering/RepaintResult.hpp>
#include <basegfx/matrix/b2dhommatrix.hxx>
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 057399c52cd1..9de66589345c 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -1255,7 +1255,6 @@ namespace cppcanvas
// are all handled locally.
-
case MetaActionType::PUSH:
{
MetaPushAction* pPushAction = static_cast<MetaPushAction*>(pCurrAct);
@@ -1536,14 +1535,12 @@ 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 MetaActionType::GRADIENT:
{
MetaGradientAction* pGradAct = static_cast<MetaGradientAction*>(pCurrAct);
@@ -1801,14 +1798,12 @@ 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 MetaActionType::POINT:
{
const OutDevState& rState( rStates.getState() );
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index 85fc5c86d9d3..56b948e13a16 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -39,7 +39,6 @@
#include <basegfx/matrix/b2dhommatrixtools.hxx>
-
using namespace ::com::sun::star;
namespace cppcanvas
diff --git a/cppcanvas/source/mtfrenderer/polypolyaction.cxx b/cppcanvas/source/mtfrenderer/polypolyaction.cxx
index 06bde882fb09..5c94513bce7f 100644
--- a/cppcanvas/source/mtfrenderer/polypolyaction.cxx
+++ b/cppcanvas/source/mtfrenderer/polypolyaction.cxx
@@ -229,8 +229,6 @@ namespace cppcanvas
}
-
-
class TexturedPolyPolyAction : public CachedPrimitiveBase
{
public:
@@ -344,7 +342,6 @@ namespace cppcanvas
}
-
class StrokedPolyPolyAction : public CachedPrimitiveBase
{
public:
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index 14af06459391..bc15b42328bc 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -606,8 +606,6 @@ namespace cppcanvas
}
-
-
class TextAction : public Action, private ::boost::noncopyable
{
public:
@@ -759,8 +757,6 @@ namespace cppcanvas
}
-
-
class EffectTextAction :
public Action,
public TextRenderer,
@@ -1000,8 +996,6 @@ namespace cppcanvas
}
-
-
class TextArrayAction : public Action, private ::boost::noncopyable
{
public:
@@ -1178,8 +1172,6 @@ namespace cppcanvas
}
-
-
class EffectTextArrayAction :
public Action,
public TextRenderer,
@@ -1516,8 +1508,6 @@ namespace cppcanvas
}
-
-
class OutlineAction :
public Action,
public TextRenderer,
@@ -1899,12 +1889,9 @@ namespace cppcanvas
}
-
-
// Action factory methods
-
/** Create an outline action
This method extracts the polygonal outline from the
@@ -2046,8 +2033,6 @@ namespace cppcanvas
} // namespace
-
-
ActionSharedPtr TextActionFactory::createTextAction( const ::Point& rStartPoint,
const ::Size& rReliefOffset,
const ::Color& rReliefColor,
diff --git a/cppcanvas/source/wrapper/implspritecanvas.cxx b/cppcanvas/source/wrapper/implspritecanvas.cxx
index f5f6203508c1..21a9ae4e0a18 100644
--- a/cppcanvas/source/wrapper/implspritecanvas.cxx
+++ b/cppcanvas/source/wrapper/implspritecanvas.cxx
@@ -43,7 +43,6 @@ namespace cppcanvas
}
-
ImplSpriteCanvas::ImplSpriteCanvas( const uno::Reference< rendering::XSpriteCanvas >& rCanvas ) :
ImplCanvas( uno::Reference< rendering::XCanvas >(rCanvas,
uno::UNO_QUERY) ),