summaryrefslogtreecommitdiff
path: root/svx/source/items/numfmtsh.cxx
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 /svx/source/items/numfmtsh.cxx
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 'svx/source/items/numfmtsh.cxx')
-rw-r--r--svx/source/items/numfmtsh.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index b7be0282428b..12dc40982188 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -38,9 +38,6 @@
const double SvxNumberFormatShell::DEFAULT_NUMVALUE = 1234.56789;
-
-
-
SvxNumberFormatShell* SvxNumberFormatShell::Create( SvNumberFormatter* pNumFormatter,
sal_uInt32 nFormatKey,
SvxNumberValueType eNumValType,
@@ -61,7 +58,6 @@ SvxNumberFormatShell* SvxNumberFormatShell::Create( SvNumberFormatter* pNumForma
}
-
SvxNumberFormatShell::SvxNumberFormatShell( SvNumberFormatter* pNumFormatter,
sal_uInt32 nFormatKey,
SvxNumberValueType eNumValType,
@@ -93,7 +89,6 @@ SvxNumberFormatShell::SvxNumberFormatShell( SvNumberFormatter* pNumFormatter,
}
-
SvxNumberFormatShell::SvxNumberFormatShell( SvNumberFormatter* pNumFormatter,
sal_uInt32 nFormatKey,
SvxNumberValueType eNumValType,
@@ -130,7 +125,6 @@ SvxNumberFormatShell::SvxNumberFormatShell( SvNumberFormatter* pNumFormatter,
}
-
SvxNumberFormatShell::~SvxNumberFormatShell()
{
/*
@@ -153,14 +147,12 @@ SvxNumberFormatShell::~SvxNumberFormatShell()
}
-
size_t SvxNumberFormatShell::GetUpdateDataCount() const
{
return aDelList.size();
}
-
void SvxNumberFormatShell::GetUpdateData( sal_uInt32* pDelArray, const sal_uInt32 nSize )
{
const size_t nListSize = aDelList.size();
@@ -173,7 +165,6 @@ void SvxNumberFormatShell::GetUpdateData( sal_uInt32* pDelArray, const sal_uInt3
}
-
void SvxNumberFormatShell::CategoryChanged( sal_uInt16 nCatLbPos,
short& rFmtSelPos,
std::vector<OUString>& rFmtEntries )
@@ -190,7 +181,6 @@ void SvxNumberFormatShell::CategoryChanged( sal_uInt16 nCatLbPos,
}
-
void SvxNumberFormatShell::LanguageChanged( LanguageType eLangType,
short& rFmtSelPos,
std::vector<OUString>& rFmtEntries )
@@ -203,7 +193,6 @@ void SvxNumberFormatShell::LanguageChanged( LanguageType eLangType,
}
-
void SvxNumberFormatShell::FormatChanged( sal_uInt16 nFmtLbPos,
OUString& rPreviewStr,
Color*& rpFontColor )
@@ -299,7 +288,6 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos,
}
-
bool SvxNumberFormatShell::RemoveFormat( const OUString& rFormat,
sal_uInt16& rCatLbSelPos,
short& rFmtSelPos,
@@ -335,7 +323,6 @@ bool SvxNumberFormatShell::RemoveFormat( const OUString& rFormat,
}
-
void SvxNumberFormatShell::MakeFormat( OUString& rFormat,
bool bThousand, bool bNegRed,
sal_uInt16 nPrecision, sal_uInt16 nLeadingZeroes,
@@ -418,7 +405,6 @@ void SvxNumberFormatShell::GetOptions( const OUString& rFormat,
}
-
void SvxNumberFormatShell::MakePreviewString( const OUString& rFormatStr,
OUString& rPreviewStr,
Color*& rpFontColor )
@@ -453,7 +439,6 @@ void SvxNumberFormatShell::MakePreviewString( const OUString& rFormatStr,
}
-
bool SvxNumberFormatShell::IsUserDefined( const OUString& rFmtString )
{
sal_uInt32 nFound = pFormatter->GetEntryKey( rFmtString, eCurLanguage );
@@ -479,7 +464,6 @@ bool SvxNumberFormatShell::IsUserDefined( const OUString& rFmtString )
}
-
bool SvxNumberFormatShell::FindEntry( const OUString& rFmtString, sal_uInt32* pAt /* = NULL */ )
{
bool bRes=false;
@@ -508,8 +492,6 @@ bool SvxNumberFormatShell::FindEntry( const OUString& rFmtString, sal_uInt32* pA
}
-
-
void SvxNumberFormatShell::GetInitSettings( sal_uInt16& nCatLbPos,
LanguageType& rLangType,
sal_uInt16& nFmtLbSelPos,
@@ -534,7 +516,6 @@ void SvxNumberFormatShell::GetInitSettings( sal_uInt16& nCatLbPos,
eCurLanguage ));
-
CategoryToPos_Impl( nCurCategory, nCatLbPos );
rLangType = eCurLanguage;
@@ -547,7 +528,6 @@ void SvxNumberFormatShell::GetInitSettings( sal_uInt16& nCatLbPos,
}
-
short SvxNumberFormatShell::FillEntryList_Impl( std::vector<OUString>& rList )
{
/* Erstellen einer aktuellen Liste von Format-Eintraegen.
@@ -1101,8 +1081,6 @@ short SvxNumberFormatShell::FillEListWithUsD_Impl( std::vector<OUString>& rList,
}
-
-
void SvxNumberFormatShell::GetPreviewString_Impl( OUString& rString, Color*& rpColor )
{
rpColor = nullptr;
@@ -1122,28 +1100,24 @@ void SvxNumberFormatShell::GetPreviewString_Impl( OUString& rString, Color*& rpC
}
-
::std::vector<sal_uInt32>::iterator SvxNumberFormatShell::GetRemoved_Impl( size_t nKey )
{
return ::std::find(aDelList.begin(), aDelList.end(), nKey);
}
-
bool SvxNumberFormatShell::IsRemoved_Impl( size_t nKey )
{
return GetRemoved_Impl( nKey ) != aDelList.end();
}
-
::std::vector<sal_uInt32>::iterator SvxNumberFormatShell::GetAdded_Impl( size_t nKey )
{
return ::std::find(aAddList.begin(), aAddList.end(), nKey);
}
-
bool SvxNumberFormatShell::IsAdded_Impl( size_t nKey )
{
return GetAdded_Impl( nKey ) != aAddList.end();