summaryrefslogtreecommitdiff
path: root/editeng/source/editeng
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 18:16:42 +1100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-12 22:06:25 -0400
commit8dcf22abfc6a07ececcef6bb830fdea825d416ec (patch)
tree7e0b3686991aef9689218ed309f462987f36e273 /editeng/source/editeng
parentb91e39cf1b2d0c4201993d768a1b2c686eeff0de (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 'editeng/source/editeng')
-rw-r--r--editeng/source/editeng/editattr.cxx2
-rw-r--r--editeng/source/editeng/editattr.hxx1
-rw-r--r--editeng/source/editeng/editobj.cxx3
-rw-r--r--editeng/source/editeng/edtspell.cxx1
-rw-r--r--editeng/source/editeng/impedit.hxx1
-rw-r--r--editeng/source/editeng/impedit2.cxx1
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--editeng/source/editeng/impedit4.cxx1
-rw-r--r--editeng/source/editeng/textconv.cxx2
9 files changed, 0 insertions, 14 deletions
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx
index 088327fd3a49..223ffdd1ccc5 100644
--- a/editeng/source/editeng/editattr.cxx
+++ b/editeng/source/editeng/editattr.cxx
@@ -49,7 +49,6 @@
#include "editattr.hxx"
-
// class EditCharAttrib
EditCharAttrib::EditCharAttrib( const SfxPoolItem& rAttr, sal_uInt16 nS, sal_uInt16 nE ) :
@@ -70,7 +69,6 @@ void EditCharAttrib::SetFont( SvxFont&, OutputDevice* )
}
-
// class EditCharAttribFont
EditCharAttribFont::EditCharAttribFont( const SvxFontItem& rAttr, sal_uInt16 _nStart, sal_uInt16 _nEnd )
diff --git a/editeng/source/editeng/editattr.hxx b/editeng/source/editeng/editattr.hxx
index 4f0c87f44749..6db6fd6c0960 100644
--- a/editeng/source/editeng/editattr.hxx
+++ b/editeng/source/editeng/editattr.hxx
@@ -322,7 +322,6 @@ public:
};
-
// class EditCharAttribLanguage
class EditCharAttribLanguage : public EditCharAttrib
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index b8d0ed1943cb..0868b4c29928 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -60,8 +60,6 @@ using std::endl;
using namespace com::sun::star;
-
-
XEditAttribute* MakeXEditAttribute( SfxItemPool& rPool, const SfxPoolItem& rItem, sal_uInt16 nStart, sal_uInt16 nEnd )
{
// Create thw new attribute in the pool
@@ -689,7 +687,6 @@ void EditTextObjectImpl::DestroyAttrib( XEditAttribute* pAttr )
}
-
ContentInfo* EditTextObjectImpl::CreateAndInsertContent()
{
aContents.push_back(std::unique_ptr<ContentInfo>(new ContentInfo(*pPool)));
diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx
index 6f7241013c99..13a772f9145c 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -544,7 +544,6 @@ bool WrongList::DbgIsBuggy() const
}
-
EdtAutoCorrDoc::EdtAutoCorrDoc(
EditEngine* pE, ContentNode* pN, sal_Int32 nCrsr, sal_Unicode cIns) :
mpEditEngine(pE),
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index 3b01c185df61..dd3e58f7a13b 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -1143,7 +1143,6 @@ inline short ImpEditEngine::GetXValue( short nXValue ) const
}
-
inline long ImpEditEngine::GetXValue( long nXValue ) const
{
if ( !aStatus.DoStretch() || ( nStretchX == 100 ) )
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 1f9bc7430b25..4c94f4f392c2 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -1592,7 +1592,6 @@ static bool lcl_HasStrongLTR ( const OUString& rTxt, sal_Int32 nStart, sal_Int3
}
-
void ImpEditEngine::InitScriptTypes( sal_Int32 nPara )
{
ParaPortion* pParaPortion = GetParaPortions().SafeGetObject( nPara );
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 38cb7752767b..f8bd382a98d3 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -269,7 +269,6 @@ static bool lcl_ConnectToPrev( sal_Unicode cCh, sal_Unicode cPrevCh ) // For Ka
}
-
// class ImpEditEngine
void ImpEditEngine::UpdateViews( EditView* pCurView )
@@ -710,7 +709,6 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY )
}
-
// Search for line with InvalidPos, start one line before
// Flag the line => do not remove it !
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index f6d5aeed014d..9e9812e2b4ee 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -3107,7 +3107,6 @@ void ImpEditEngine::SetAddExtLeading( bool bExtLeading )
};
-
bool ImpEditEngine::ImplHasText() const
{
return ( ( GetEditDoc().Count() > 1 ) || GetEditDoc().GetObject(0)->Len() );
diff --git a/editeng/source/editeng/textconv.cxx b/editeng/source/editeng/textconv.cxx
index 5491fbee2ca3..dd61f09a8235 100644
--- a/editeng/source/editeng/textconv.cxx
+++ b/editeng/source/editeng/textconv.cxx
@@ -40,7 +40,6 @@ using namespace com::sun::star::beans;
using namespace com::sun::star::linguistic2;
-
TextConvWrapper::TextConvWrapper( vcl::Window* pWindow,
const Reference< XComponentContext >& rxContext,
const lang::Locale& rSourceLocale,
@@ -565,5 +564,4 @@ bool TextConvWrapper::HasRubySupport() const
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */