diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-19 16:21:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-20 12:54:55 +0100 |
commit | 7b8a0b7c0dcf8380a6bd2d458d0e20ffc6a5d355 (patch) | |
tree | 388b2fba4742064ed47c51f0a2688cb53de405ce /svtools/source/contnr/fileview.cxx | |
parent | b7da3f2d2518a8b92b0242e311bb31267acd1cd0 (diff) |
loplugin:changetoolsgen in svtools
Change-Id: I63271ee3126368868db7e7e859aaaa76b15e559e
Reviewed-on: https://gerrit.libreoffice.org/50023
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/contnr/fileview.cxx')
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 02565a04ef84..df6ef2fda9ae 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -569,7 +569,7 @@ void ViewTabListBox_Impl::Resize() if ( mbShowHeader ) { aBarSize = mpHeaderBar->GetSizePixel(); - aBarSize.Width() = mbAutoResize ? aBoxSize.Width() : GetSizePixel().Width(); + aBarSize.setWidth( mbAutoResize ? aBoxSize.Width() : GetSizePixel().Width() ); mpHeaderBar->SetSizePixel( aBarSize ); } @@ -1299,7 +1299,7 @@ IMPL_LINK( SvtFileView, HeaderEndDrag_Impl, HeaderBar*, pBar, void ) for ( sal_uInt16 i = 1; i <= nTabs; ++i ) { long nWidth = pBar->GetItemSize(i); - aSize.Width() = nWidth + nTmpSize; + aSize.setWidth( nWidth + nTmpSize ); nTmpSize += nWidth; mpImpl->mpView->SetTab( i, aSize.Width(), MapUnit::MapPixel ); } |