diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-12 22:06:25 -0400 |
commit | 8dcf22abfc6a07ececcef6bb830fdea825d416ec (patch) | |
tree | 7e0b3686991aef9689218ed309f462987f36e273 /cppcanvas | |
parent | b91e39cf1b2d0c4201993d768a1b2c686eeff0de (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
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
(cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89)
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx | 1 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/mtftools.cxx | 1 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/polypolyaction.cxx | 3 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/textaction.cxx | 15 | ||||
-rw-r--r-- | cppcanvas/source/wrapper/implspritecanvas.cxx | 1 |
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 7fbabf6fe00f..183eace5d97a 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 43913529778e..46073c5ef516 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 d44521e55999..306b32ef7778 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) ), |