summaryrefslogtreecommitdiff
path: root/svx/source/dialog/ctredlin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/ctredlin.cxx')
-rw-r--r--svx/source/dialog/ctredlin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index be1e113c70c3..1e32dbf43ac3 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -431,8 +431,8 @@ void SvxTPView::dispose()
void SvxTPView::InsertWriterHeader()
{
- const long pTabs[] = { 4 /* Length of rest of the array */, 10, 20, 70, 120 };
- m_pViewData->SetTabs(pTabs);
+ const long aTabPositions[] = { 10, 20, 70, 120 };
+ m_pViewData->SetTabs(SAL_N_ELEMENTS(aTabPositions), aTabPositions);
OUString aStrTab('\t');
OUString aString = get<FixedText>("action")->GetText()
@@ -448,8 +448,8 @@ void SvxTPView::InsertWriterHeader()
void SvxTPView::InsertCalcHeader()
{
- const long pTabs[] = { 5 /* Length of rest of the array */, 10, 65, 120, 170, 220 };
- m_pViewData->SetTabs(pTabs);
+ const long aTabPositions[] = { 10, 65, 120, 170, 220 };
+ m_pViewData->SetTabs(SAL_N_ELEMENTS(aTabPositions), aTabPositions);
OUString aStrTab('\t');
OUString aString = get<FixedText>("action")->GetText()