summaryrefslogtreecommitdiff
path: root/linguistic/source
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-12 13:30:30 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-12 13:34:48 +0200
commit190334febe62d56d80489034f0ee3cf59100f6c4 (patch)
tree4cde37896e4b6a00bc84fbc5e69fbe41a8f8dcb9 /linguistic/source
parentf7a24eff2d40ca30c6f299ab6534393c5c146b95 (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: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
Diffstat (limited to 'linguistic/source')
-rw-r--r--linguistic/source/dicimp.cxx2
-rw-r--r--linguistic/source/lngopt.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index 2770906c3f1a..39658f181d09 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -840,7 +840,7 @@ sal_Bool SAL_CALL
return bRes;
}
-void lcl_SequenceRemoveElementAt(
+static void lcl_SequenceRemoveElementAt(
uno::Sequence< uno::Reference< XDictionaryEntry > >& rEntries, int nPos )
{
//TODO: helper for SequenceRemoveElementAt available?
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index 37af9e9b1909..856866165b06 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -142,7 +142,7 @@ OUString LinguOptions::GetName( sal_Int32 nWID )
//! map must be sorted by first entry in alphabetical increasing order.
-const SfxItemPropertyMapEntry* lcl_GetLinguProps()
+static const SfxItemPropertyMapEntry* lcl_GetLinguProps()
{
static const SfxItemPropertyMapEntry aLinguProps[] =
{