summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-07-27 00:04:07 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-08-16 21:38:49 +0200
commit9f5711e755651aa7a633b79b04117f20106117f8 (patch)
treedbc82fefad6f6d8625abe4a6073afe2e7d239e5e /sw
parent5dfb3365dd03106d39e819dac705ab73ece59f23 (diff)
This array can be static
Change-Id: Ide0f5df3430f246d5998637166e4e44e83566774
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/inc/tabsh.hxx1
-rw-r--r--sw/source/uibase/shells/tabsh.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/tabsh.hxx b/sw/source/uibase/inc/tabsh.hxx
index ed9f7efd0d87..bc1d636f77aa 100644
--- a/sw/source/uibase/inc/tabsh.hxx
+++ b/sw/source/uibase/inc/tabsh.hxx
@@ -27,7 +27,6 @@ class SwWrtShell;
SW_DLLPUBLIC void ItemSetToTableParam( const SfxItemSet& rSet, SwWrtShell &rSh );
-extern const sal_uInt16 aUITableAttrRange[];
SW_DLLPUBLIC const sal_uInt16* SwuiGetUITableAttrRange();
class SwTableShell: public SwBaseShell
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx
index b25781b95dc4..dc2531b38ead 100644
--- a/sw/source/uibase/shells/tabsh.cxx
+++ b/sw/source/uibase/shells/tabsh.cxx
@@ -100,7 +100,7 @@ void SwTableShell::InitInterface_Impl()
TYPEINIT1(SwTableShell,SwBaseShell)
-const sal_uInt16 aUITableAttrRange[] =
+static const sal_uInt16 aUITableAttrRange[] =
{
FN_PARAM_TABLE_NAME, FN_PARAM_TABLE_NAME,
FN_PARAM_TABLE_HEADLINE, FN_PARAM_TABLE_HEADLINE,