diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:33:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:34:48 +0200 |
commit | 83154f9234659585cdac1c2e6781cd3498ff4a51 (patch) | |
tree | bfbd678453ed1a4ed0d652e722bc3c84b9ec428a /starmath | |
parent | 190334febe62d56d80489034f0ee3cf59100f6c4 (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 'starmath')
-rw-r--r-- | starmath/source/node.cxx | 2 | ||||
-rw-r--r-- | starmath/source/parse.cxx | 2 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index eb2883bde514..d7bd76fdb315 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2860,7 +2860,7 @@ void SmAttributNode::CreateTextFromNode(String &rText) /**************************************************************************/ -bool lcl_IsFromGreekSymbolSet( const String &rTokenText ) +static bool lcl_IsFromGreekSymbolSet( const String &rTokenText ) { bool bRes = false; diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 51a60c2afbf8..6fcf81712a89 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1901,7 +1901,7 @@ void SmParser::Font() // gets number used as arguments in Math formulas (e.g. 'size' command) // Format: no negative numbers, must start with a digit, no exponent notation, ... -bool lcl_IsNumber(const rtl::OUString& rText) +static bool lcl_IsNumber(const rtl::OUString& rText) { bool bPoint = false; const sal_Unicode* pBuffer = rText.getStr(); diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 74a545d79338..7bfce092c64a 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -231,7 +231,7 @@ enum SmModelPropertyHandles HANDLE_BASELINE }; -PropertySetInfo * lcl_createModelPropertyInfo () +static PropertySetInfo * lcl_createModelPropertyInfo () { static PropertyMapEntry aModelPropertyInfoMap[] = { @@ -387,7 +387,7 @@ sal_Int64 SAL_CALL SmModel::getSomething( const uno::Sequence< sal_Int8 >& rId ) return SfxBaseModel::getSomething( rId ); } -sal_Int16 lcl_AnyToINT16(const uno::Any& rAny) +static sal_Int16 lcl_AnyToINT16(const uno::Any& rAny) { uno::TypeClass eType = rAny.getValueType().getTypeClass(); |