From a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Tue, 9 Feb 2016 18:16:42 +1100 Subject: 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 Reviewed-by: Chris Sherlock --- vcl/inc/fontattributes.hxx | 1 - vcl/inc/fontselect.hxx | 1 - vcl/inc/unx/fc_fontoptions.hxx | 1 - vcl/source/control/field.cxx | 1 - vcl/source/font/font.cxx | 1 - vcl/source/font/fontmetric.cxx | 1 - vcl/source/gdi/gfxlink.cxx | 1 - vcl/source/gdi/graphictools.cxx | 9 --------- vcl/source/gdi/mapmod.cxx | 1 - vcl/source/opengl/OpenGLContext.cxx | 1 - vcl/win/app/saldata.cxx | 1 - 11 files changed, 19 deletions(-) (limited to 'vcl') diff --git a/vcl/inc/fontattributes.hxx b/vcl/inc/fontattributes.hxx index 739b70b59575..226ddbeb4ecc 100644 --- a/vcl/inc/fontattributes.hxx +++ b/vcl/inc/fontattributes.hxx @@ -25,7 +25,6 @@ #include - /* The following class is extraordinarily similar to ImplFont. */ class FontAttributes diff --git a/vcl/inc/fontselect.hxx b/vcl/inc/fontselect.hxx index fd98afcb4b1a..e8b19b408f53 100644 --- a/vcl/inc/fontselect.hxx +++ b/vcl/inc/fontselect.hxx @@ -65,7 +65,6 @@ public: }; - class FontSelectPattern : public FontSelectPatternAttributes { public: diff --git a/vcl/inc/unx/fc_fontoptions.hxx b/vcl/inc/unx/fc_fontoptions.hxx index 4fc96a069d95..f831ef57531b 100644 --- a/vcl/inc/unx/fc_fontoptions.hxx +++ b/vcl/inc/unx/fc_fontoptions.hxx @@ -64,7 +64,6 @@ private: }; - #endif // INCLUDED_VCL_INC_UNX_FC_FONTOPTIONS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 720ebd02568d..3b6b5b106190 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -104,7 +104,6 @@ static bool ImplNumericGetValue( const OUString& rStr, sal_Int64& rValue, aStr = aStr.trim(); - // find position of decimal point nDecPos = aStr.indexOf( rLocaleDataWrappper.getNumDecimalSep() ); // find position of fraction diff --git a/vcl/source/font/font.cxx b/vcl/source/font/font.cxx index 2080ea1d52ab..943f8fa1fee4 100644 --- a/vcl/source/font/font.cxx +++ b/vcl/source/font/font.cxx @@ -837,7 +837,6 @@ bool Font::IsWordLineMode() const { return mpImplFont->mbWordLine; } bool Font::IsSameInstance( const vcl::Font& rFont ) const { return (mpImplFont == rFont.mpImplFont); } - ImplFont::ImplFont() : mnRefCount( 1 ), meWeight( WEIGHT_DONTKNOW ), diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx index f214ddd64948..1269333702b0 100644 --- a/vcl/source/font/fontmetric.cxx +++ b/vcl/source/font/fontmetric.cxx @@ -177,7 +177,6 @@ void FontMetric::SetBuiltInFontFlag( bool bIsBuiltInFont ) } - ImplFontMetric::ImplFontMetric() : mnAscent( 0 ), mnDescent( 0 ), diff --git a/vcl/source/gdi/gfxlink.cxx b/vcl/source/gdi/gfxlink.cxx index 1756a0332d6e..b003198877de 100644 --- a/vcl/source/gdi/gfxlink.cxx +++ b/vcl/source/gdi/gfxlink.cxx @@ -154,7 +154,6 @@ void GfxLink::SetPrefSize( const Size& rPrefSize ) } - void GfxLink::SetPrefMapMode( const MapMode& rPrefMapMode ) { mpImpData->maPrefMapMode = rPrefMapMode; diff --git a/vcl/source/gdi/graphictools.cxx b/vcl/source/gdi/graphictools.cxx index a9987929ec1c..d8889bb71895 100644 --- a/vcl/source/gdi/graphictools.cxx +++ b/vcl/source/gdi/graphictools.cxx @@ -78,10 +78,6 @@ void SvtGraphicStroke::getEndArrow( tools::PolyPolygon& rPath ) const } - - - - void SvtGraphicStroke::getDashArray( DashArray& rDashArray ) const { rDashArray = maDashArray; @@ -219,17 +215,12 @@ void SvtGraphicFill::getPath( tools::PolyPolygon& rPath ) const } - - - void SvtGraphicFill::getTransform( Transform& rTrans ) const { rTrans = maFillTransform; } - - void SvtGraphicFill::getGraphic( Graphic& rGraphic ) const { rGraphic = maFillGraphic; diff --git a/vcl/source/gdi/mapmod.cxx b/vcl/source/gdi/mapmod.cxx index 67ed3f595978..c95351829bdf 100644 --- a/vcl/source/gdi/mapmod.cxx +++ b/vcl/source/gdi/mapmod.cxx @@ -26,7 +26,6 @@ #include - struct MapMode::ImplMapMode { sal_uLong mnRefCount; diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 8c18d591cb75..fb0a5dc1bd34 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -1089,7 +1089,6 @@ void OpenGLContext::setWinSize(const Size& rSize) } - #if defined( WNT ) bool OpenGLContext::initWindow() diff --git a/vcl/win/app/saldata.cxx b/vcl/win/app/saldata.cxx index 2a04b3318791..94dba62444a5 100644 --- a/vcl/win/app/saldata.cxx +++ b/vcl/win/app/saldata.cxx @@ -75,5 +75,4 @@ int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 ) } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3