summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-25 13:32:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-25 13:33:15 +0200
commitc72d69d4b0d28497bc6f70b085dfdf2fbc672cbb (patch)
tree26b1b42f3b1ce0b4b58e097412dbda6a2cdf7362 /fpicker
parent8776a895d41f174bf5d86332093ed5795c73bdd6 (diff)
fix -Werror=shadow
after commit bbf134a2b77909706492cbc41952210f89c0df71 Date: Tue Apr 24 13:36:34 2018 +0200 SvTabListBox::SetTabs, pass count explicit Change-Id: Iea41aa1c4708b6486ba9a306d3b9d02846e23d7a
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/PlacesListBox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx
index 0138f2273698..dba49d230817 100644
--- a/fpicker/source/office/PlacesListBox.cxx
+++ b/fpicker/source/office/PlacesListBox.cxx
@@ -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();