summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-12 13:33:22 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-12 13:34:48 +0200
commit83154f9234659585cdac1c2e6781cd3498ff4a51 (patch)
treebfbd678453ed1a4ed0d652e722bc3c84b9ec428a /svl
parent190334febe62d56d80489034f0ee3cf59100f6c4 (diff)
mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/numfmuno.cxx6
-rw-r--r--svl/source/numbers/zforlist.cxx4
-rw-r--r--svl/source/numbers/zformat.cxx4
3 files changed, 7 insertions, 7 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx
index e669a7f8e8fe..29a469e03c73 100644
--- a/svl/source/numbers/numfmuno.cxx
+++ b/svl/source/numbers/numfmuno.cxx
@@ -66,7 +66,7 @@ using namespace com::sun::star;
// alles ohne Which-ID, Map nur fuer PropertySetInfo
-const SfxItemPropertyMapEntry* lcl_GetNumberFormatPropertyMap()
+static const SfxItemPropertyMapEntry* lcl_GetNumberFormatPropertyMap()
{
static SfxItemPropertyMapEntry aNumberFormatPropertyMap_Impl[] =
{
@@ -88,7 +88,7 @@ const SfxItemPropertyMapEntry* lcl_GetNumberFormatPropertyMap()
return aNumberFormatPropertyMap_Impl;
}
-const SfxItemPropertyMapEntry* lcl_GetNumberSettingsPropertyMap()
+static const SfxItemPropertyMapEntry* lcl_GetNumberSettingsPropertyMap()
{
static SfxItemPropertyMapEntry aNumberSettingsPropertyMap_Impl[] =
{
@@ -103,7 +103,7 @@ const SfxItemPropertyMapEntry* lcl_GetNumberSettingsPropertyMap()
//----------------------------------------------------------------------------------------
-LanguageType lcl_GetLanguage( const lang::Locale& rLocale )
+static LanguageType lcl_GetLanguage( const lang::Locale& rLocale )
{
// empty language -> LANGUAGE_SYSTEM
if ( rLocale.Language.isEmpty() )
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 692b228c7da6..db12eda74e33 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -3458,7 +3458,7 @@ void SvNumberFormatter::GetCompatibilityCurrency( String& rSymbol, String& rAbbr
}
-void lcl_CheckCurrencySymbolPosition( const NfCurrencyEntry& rCurr )
+static void lcl_CheckCurrencySymbolPosition( const NfCurrencyEntry& rCurr )
{
switch ( rCurr.GetPositiveFormat() )
{
@@ -4043,7 +4043,7 @@ sal_uInt16 NfCurrencyEntry::GetEffectivePositiveFormat(
//! Call this only if nCurrFormat is really with parentheses!
-sal_uInt16 lcl_MergeNegativeParenthesisFormat( sal_uInt16 nIntlFormat, sal_uInt16 nCurrFormat )
+static sal_uInt16 lcl_MergeNegativeParenthesisFormat( sal_uInt16 nIntlFormat, sal_uInt16 nCurrFormat )
{
short nSign = 0; // -1:=Klammer 0:=links, 1:=mitte, 2:=rechts
switch ( nIntlFormat )
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 447bcf54da32..d479aeff1133 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -547,7 +547,7 @@ SvNumberformat::SvNumberformat( SvNumberformat& rFormat, ImpSvNumberformatScan&
ImpCopyNumberformat( rFormat );
}
-bool lcl_SvNumberformat_IsBracketedPrefix( short nSymbolType )
+static bool lcl_SvNumberformat_IsBracketedPrefix( short nSymbolType )
{
if ( nSymbolType > 0 )
return true; // conditions
@@ -4507,7 +4507,7 @@ Color* SvNumberformat::GetColor( sal_uInt16 nNumFor ) const
return NumFor[nNumFor].GetColor();
}
-void lcl_SvNumberformat_AddLimitStringImpl( String& rStr,
+static void lcl_SvNumberformat_AddLimitStringImpl( String& rStr,
SvNumberformatLimitOps eOp, double fLimit, const String& rDecSep )
{
if ( eOp != NUMBERFORMAT_OP_NO )