fix -Werror=shadow

after
    commit bbf134a2b77909706492cbc41952210f89c0df71
    Date:   Tue Apr 24 13:36:34 2018 +0200
    SvTabListBox::SetTabs, pass count explicit

Change-Id: Iea41aa1c4708b6486ba9a306d3b9d02846e23d7a
This commit is contained in:
Noel Grandin 2018-04-25 13:32:14 +02:00
parent 8776a895d4
commit c72d69d4b0

View File

@ -25,8 +25,8 @@ PlacesListBox_Impl::PlacesListBox_Impl( PlacesListBox* pParent, const OUString&
mpHeaderBar = VclPtr<HeaderBar>::Create( pParent, WB_BUTTONSTYLE | WB_BOTTOMBORDER );
mpHeaderBar->SetPosSizePixel( Point( 0, 0 ), Size( 600, 16 ) );
long aTabs[] = { 20, 600 };
SetTabs( SAL_N_ELEMENTS(aTabs), aTabs, MapUnit::MapPixel );
long aTabPositions[] = { 20, 600 };
SetTabs( SAL_N_ELEMENTS(aTabPositions), aTabPositions, MapUnit::MapPixel );
mpHeaderBar->InsertItem( COLUMN_NAME, rTitle, 600, HeaderBarItemBits::LEFT | HeaderBarItemBits::VCENTER );
Size aHeadSize = mpHeaderBar->GetSizePixel();