[Libreoffice-commits] core.git: fpicker/source

Noel Grandin noel.grandin at collabora.co.uk
Wed Apr 25 11:36:27 UTC 2018


 fpicker/source/office/PlacesListBox.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c72d69d4b0d28497bc6f70b085dfdf2fbc672cbb
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Wed Apr 25 13:32:14 2018 +0200

    fix -Werror=shadow
    
    after
        commit bbf134a2b77909706492cbc41952210f89c0df71
        Date:   Tue Apr 24 13:36:34 2018 +0200
        SvTabListBox::SetTabs, pass count explicit
    
    Change-Id: Iea41aa1c4708b6486ba9a306d3b9d02846e23d7a

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();


More information about the Libreoffice-commits mailing list