summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/fmtuno.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-12 13:26:46 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-12 13:34:47 +0200
commitf7a24eff2d40ca30c6f299ab6534393c5c146b95 (patch)
tree41639f5f6d1f02968d888051e7aeaedbb397d272 /sc/source/ui/unoobj/fmtuno.cxx
parent2c3759735f53c06ebd75a344cc10a47f20f32f09 (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: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
Diffstat (limited to 'sc/source/ui/unoobj/fmtuno.cxx')
-rw-r--r--sc/source/ui/unoobj/fmtuno.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx
index 8b981990be90..171ecb7474bf 100644
--- a/sc/source/ui/unoobj/fmtuno.cxx
+++ b/sc/source/ui/unoobj/fmtuno.cxx
@@ -52,7 +52,7 @@ using namespace ::formula;
// Map nur fuer PropertySetInfo
-const SfxItemPropertyMapEntry* lcl_GetValidatePropertyMap()
+static const SfxItemPropertyMapEntry* lcl_GetValidatePropertyMap()
{
static SfxItemPropertyMapEntry aValidatePropertyMap_Impl[] =
{
@@ -79,7 +79,7 @@ SC_SIMPLE_SERVICE_INFO( ScTableValidationObj, "ScTableValidationObj", "com.sun.s
//------------------------------------------------------------------------
-sal_Int32 lcl_ConditionModeToOperatorNew( ScConditionMode eMode )
+static sal_Int32 lcl_ConditionModeToOperatorNew( ScConditionMode eMode )
{
sal_Int32 eOper = sheet::ConditionOperator2::NONE;
switch (eMode)
@@ -102,7 +102,7 @@ sal_Int32 lcl_ConditionModeToOperatorNew( ScConditionMode eMode )
return eOper;
}
-sheet::ConditionOperator lcl_ConditionModeToOperator( ScConditionMode eMode )
+static sheet::ConditionOperator lcl_ConditionModeToOperator( ScConditionMode eMode )
{
sheet::ConditionOperator eOper = sheet::ConditionOperator_NONE;
switch (eMode)
@@ -124,7 +124,7 @@ sheet::ConditionOperator lcl_ConditionModeToOperator( ScConditionMode eMode )
return eOper;
}
-ScConditionMode lcl_ConditionOperatorToMode( sheet::ConditionOperator eOper )
+static ScConditionMode lcl_ConditionOperatorToMode( sheet::ConditionOperator eOper )
{
ScConditionMode eMode = SC_COND_NONE;
switch (eOper)
@@ -430,7 +430,7 @@ sal_Bool SAL_CALL ScTableConditionalFormat::hasElements() throw(uno::RuntimeExce
// conditional format entries have no real names
// -> generate name from index
-rtl::OUString lcl_GetEntryNameFromIndex( sal_Int32 nIndex )
+static rtl::OUString lcl_GetEntryNameFromIndex( sal_Int32 nIndex )
{
rtl::OUString aRet( RTL_CONSTASCII_USTRINGPARAM( "Entry" ) );
aRet += rtl::OUString::valueOf( nIndex );