summaryrefslogtreecommitdiff
path: root/editeng/source/items/borderline.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-07-27 10:05:44 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-07-27 10:07:31 +0900
commit826be413d6f3242ee5c5672ca0f1f2f8ac6b417a (patch)
treedb61d13981d07bca8f16813e358c106762b558ec /editeng/source/items/borderline.cxx
parentd976a9d3eea065f116d7ee17731fa68a9ea1b5c1 (diff)
Mark as const/static
Change-Id: I9000ea607e1df140ac18d59f7c4d4abd999c71d1
Diffstat (limited to 'editeng/source/items/borderline.cxx')
-rw-r--r--editeng/source/items/borderline.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index 70ff3539871e..47bb613eb5f9 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -426,7 +426,7 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa
if ( nStyle == DOUBLE )
{
- static SvxBorderStyle aDoubleStyles[] =
+ static const SvxBorderStyle aDoubleStyles[] =
{
DOUBLE,
THINTHICK_SMALLGAP,
@@ -437,7 +437,7 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa
THICKTHIN_LARGEGAP
};
- size_t const len = SAL_N_ELEMENTS(aDoubleStyles);
+ static size_t const len = SAL_N_ELEMENTS(aDoubleStyles);
long nWidth = 0;
SvxBorderStyle nTestStyle(NONE);
for (size_t i = 0; i < len && nWidth == 0; ++i)