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 /unotools | |
parent | mark lcl_ functions static or rename them if they are not local at all (diff) | |
download | core-83154f9234659585cdac1c2e6781cd3498ff4a51.tar.gz core-83154f9234659585cdac1c2e6781cd3498ff4a51.zip |
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 'unotools')
-rw-r--r-- | unotools/source/config/configitem.cxx | 6 | ||||
-rw-r--r-- | unotools/source/config/syslocaleoptions.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 63573594e947..a3eb7626a3e6 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -54,7 +54,7 @@ using namespace com::sun::star::configuration; #include <cppuhelper/implbase1.hxx> // helper for implementations #ifdef DBG_UTIL -inline void lcl_CFG_DBG_EXCEPTION(const sal_Char* cText, const Exception& rEx) +static inline void lcl_CFG_DBG_EXCEPTION(const sal_Char* cText, const Exception& rEx) { OString sMsg(cText); sMsg += OString(rEx.Message.getStr(), rEx.Message.getLength(), RTL_TEXTENCODING_ASCII_US); @@ -161,7 +161,7 @@ ConfigChangeListener_Impl::~ConfigChangeListener_Impl() { } -sal_Bool lcl_Find( +static sal_Bool lcl_Find( const rtl::OUString& rTemp, const OUString* pCheckPropertyNames, sal_Int32 nLength) @@ -646,7 +646,7 @@ void ConfigItem::RemoveChangesListener() } } -void lcl_normalizeLocalNames(Sequence< OUString >& _rNames, ConfigNameFormat _eFormat, Reference<XInterface> const& _xParentNode) +static void lcl_normalizeLocalNames(Sequence< OUString >& _rNames, ConfigNameFormat _eFormat, Reference<XInterface> const& _xParentNode) { switch (_eFormat) { diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx index 604344ba66f5..961ac7544c17 100644 --- a/unotools/source/config/syslocaleoptions.cxx +++ b/unotools/source/config/syslocaleoptions.cxx @@ -48,7 +48,7 @@ namespace : public rtl::Static<Link, CurrencyChangeLink> {}; } -com::sun::star::lang::Locale lcl_str_to_locale( const ::rtl::OUString rStr ) +static com::sun::star::lang::Locale lcl_str_to_locale( const ::rtl::OUString rStr ) { com::sun::star::lang::Locale aRet; if ( !rStr.isEmpty() ) |