summaryrefslogtreecommitdiff
path: root/editeng/source/uno
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 /editeng/source/uno
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 'editeng/source/uno')
-rw-r--r--editeng/source/uno/unoedprx.cxx5
-rw-r--r--editeng/source/uno/unoedsrc.cxx5
-rw-r--r--editeng/source/uno/unofdesc.cxx1
-rw-r--r--editeng/source/uno/unofored.cxx2
-rw-r--r--editeng/source/uno/unoforou.cxx4
-rw-r--r--editeng/source/uno/unoipset.cxx8
-rw-r--r--editeng/source/uno/unotext.cxx2
7 files changed, 0 insertions, 27 deletions
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx
index ada29d736e07..3d83bf8fa7c4 100644
--- a/editeng/source/uno/unoedprx.cxx
+++ b/editeng/source/uno/unoedprx.cxx
@@ -18,12 +18,9 @@
*/
-
-
// Global header
-
#include <limits.h>
#include <utility>
#include <vector>
@@ -35,7 +32,6 @@
#include <com/sun/star/uno/Reference.hxx>
-
// Project-local header
@@ -300,7 +296,6 @@ bool SvxAccessibleTextIndex::IsEditableRange( const SvxAccessibleTextIndex& rEnd
}
-
SvxEditSourceAdapter::SvxEditSourceAdapter() : mbEditSourceValid( false )
{
}
diff --git a/editeng/source/uno/unoedsrc.cxx b/editeng/source/uno/unoedsrc.cxx
index f638ecd23ced..4e48ffa1d10b 100644
--- a/editeng/source/uno/unoedsrc.cxx
+++ b/editeng/source/uno/unoedsrc.cxx
@@ -29,13 +29,11 @@ void SvxEditSource::addRange( SvxUnoTextRangeBase* )
}
-
void SvxEditSource::removeRange( SvxUnoTextRangeBase* )
{
}
-
const SvxUnoTextRangeBaseList& SvxEditSource::getRanges() const
{
static SvxUnoTextRangeBaseList gList;
@@ -43,19 +41,16 @@ const SvxUnoTextRangeBaseList& SvxEditSource::getRanges() const
}
-
SvxTextForwarder::~SvxTextForwarder()
{
}
-
SvxViewForwarder::~SvxViewForwarder()
{
}
-
SvxEditSource::~SvxEditSource()
{
}
diff --git a/editeng/source/uno/unofdesc.cxx b/editeng/source/uno/unofdesc.cxx
index cf387b1bce88..69d08901322f 100644
--- a/editeng/source/uno/unofdesc.cxx
+++ b/editeng/source/uno/unofdesc.cxx
@@ -227,5 +227,4 @@ uno::Any SvxUnoFontDescriptor::getPropertyDefault( SfxItemPool* pPool )
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/uno/unofored.cxx b/editeng/source/uno/unofored.cxx
index b3ab33dcad53..793f979a55fa 100644
--- a/editeng/source/uno/unofored.cxx
+++ b/editeng/source/uno/unofored.cxx
@@ -36,7 +36,6 @@
using namespace ::com::sun::star;
-
SvxEditEngineForwarder::SvxEditEngineForwarder( EditEngine& rEngine ) :
rEditEngine( rEngine )
{
@@ -502,5 +501,4 @@ void SvxEditEngineForwarder::CopyText(const SvxTextForwarder& rSource)
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx
index d36cacbdc3d0..d3be942fe710 100644
--- a/editeng/source/uno/unoforou.cxx
+++ b/editeng/source/uno/unoforou.cxx
@@ -39,7 +39,6 @@
using namespace ::com::sun::star;
-
SvxOutlinerForwarder::SvxOutlinerForwarder( Outliner& rOutl, bool bOutlText /* = false */ ) :
rOutliner( rOutl ),
bOutlinerText( bOutlText ),
@@ -577,8 +576,6 @@ void SvxOutlinerForwarder::CopyText(const SvxTextForwarder& rSource)
}
-
-
sal_Int32 SvxTextForwarder::GetNumberingStartValue( sal_Int32 )
{
return -1;
@@ -598,5 +595,4 @@ void SvxTextForwarder::SetParaIsNumberingRestart( sal_Int32, bool )
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index 0034b3ebcb1b..4c369844ccf6 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -74,7 +74,6 @@ void SvxItemPropertySet::AddUsrAnyForID(const uno::Any& rAny, sal_uInt16 nWID)
}
-
void SvxItemPropertySet::ClearAllUsrAny()
{
for ( size_t i = 0, n = aCombineList.size(); i < n; ++i )
@@ -83,7 +82,6 @@ void SvxItemPropertySet::ClearAllUsrAny()
}
-
bool SvxUnoCheckForPositiveValue( const uno::Any& rVal )
{
bool bConvert = true; // the default is that all metric items must be converted
@@ -94,7 +92,6 @@ bool SvxUnoCheckForPositiveValue( const uno::Any& rVal )
}
-
uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry* pMap, const SfxItemSet& rSet, bool bSearchInParent, bool bDontConvertNegativeValues )
{
uno::Any aVal;
@@ -248,7 +245,6 @@ uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry*
}
-
void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const uno::Any& rVal ) const
{
uno::Any* pUsrAny = GetUsrAnyForID(pMap->nWID);
@@ -259,14 +255,12 @@ void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMa
}
-
const SfxItemPropertySimpleEntry* SvxItemPropertySet::getPropertyMapEntry(const OUString &rName) const
{
return m_aPropertyMap.getByName( rName );
}
-
uno::Reference< beans::XPropertySetInfo > SvxItemPropertySet::getPropertySetInfo() const
{
if( !m_xInfo.is() )
@@ -275,7 +269,6 @@ uno::Reference< beans::XPropertySetInfo > SvxItemPropertySet::getPropertySetInf
}
-
#ifndef TWIPS_TO_MM
#define TWIPS_TO_MM(val) ((val * 127 + 36) / 72)
#endif
@@ -321,7 +314,6 @@ void SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, uno::Any & rMetric ) th
}
-
/** converts the given any with a metric from 100th/mm to the given metric if needed */
void SvxUnoConvertFromMM( const SfxMapUnit eDestinationMapUnit, uno::Any & rMetric ) throw()
{
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 73a44640b1b7..181ff4a4d9ff 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -2365,8 +2365,6 @@ sal_Int64 SAL_CALL SvxUnoText::getSomething( const uno::Sequence< sal_Int8 >& rI
}
-
-
SvxDummyTextSource::~SvxDummyTextSource()
{
};