summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/moduldl2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/moduldl2.cxx')
-rw-r--r--basctl/source/basicide/moduldl2.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index 0722118559be..644b1593352c 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -151,9 +151,9 @@ CheckBox::CheckBox(vcl::Window* pParent, WinBits nStyle)
, eMode(ObjectMode::Module)
, m_aDocument(ScriptDocument::getApplicationScriptDocument())
{
- long const aTabs_[] = { 1, 12 }; // TabPos needs at least one...
- // 12 because of the CheckBox
- SetTabs( aTabs_ );
+ long const aTabPositions[] = { 12 }; // TabPos needs at least one...
+ // 12 because of the CheckBox
+ SetTabs( SAL_N_ELEMENTS(aTabPositions), aTabPositions );
Init();
}
@@ -484,8 +484,8 @@ LibPage::LibPage(vcl::Window * pParent)
m_pLibBox->EnableInplaceEditing(true);
m_pLibBox->SetStyle( WB_HSCROLL | WB_BORDER | WB_TABSTOP );
- long const aTabs[] = { 2, 30, 120 };
- m_pLibBox->SetTabs( aTabs, MapUnit::MapPixel );
+ long const aTabPositions[] = { 30, 120 };
+ m_pLibBox->SetTabs( SAL_N_ELEMENTS(aTabPositions), aTabPositions, MapUnit::MapPixel );
FillListBox();
m_pBasicsBox->SelectEntryPos( 0 );