diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-16 08:49:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-16 08:42:37 +0000 |
commit | f0f973da8560e16cba85d2c9465c3a8c4c0ebbb3 (patch) | |
tree | 0b6d78c3b16acc698dee15d83422a924be71097f /svtools/source | |
parent | 6eb91bdf75fe0085584efa6abf955c14c7acb9fd (diff) |
loplugin:constantparams in vcl/
also some improvements to the plugin
Change-Id: I0e3a519d70756e577fcb1bd47dd66864b5b4c871
Reviewed-on: https://gerrit.libreoffice.org/23289
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/brwbox/datwin.cxx | 2 | ||||
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index d1fee6b3b100..12068e0d4e8d 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -47,7 +47,7 @@ void ButtonFrame::Draw( OutputDevice& rDev ) { vcl::Window *pWin = static_cast<vcl::Window*>( &rDev ); if( bPressed ) - pWin->DrawSelectionBackground( aRect, 0, true, false, false ); + pWin->DrawSelectionBackground( aRect, 0, true, false ); } else { diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index f0755ebecee4..819ac2d13154 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -3495,7 +3495,7 @@ void SvxIconChoiceCtrl_Impl::DrawHighlightFrame(vcl::RenderContext& rRenderConte nDecoFlags = DrawHighlightFrameStyle::In; else nDecoFlags = DrawHighlightFrameStyle::Out; - aDecoView.DrawHighlightFrame(aBmpRect, nDecoFlags, true/*bTestBackground*/); + aDecoView.DrawHighlightFrame(aBmpRect, nDecoFlags); } } diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 48f3fb72c047..e9810ad14b09 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -280,13 +280,13 @@ void ColorListBox::UserDraw( const UserDrawEvent& rUDEvt ) } } - ListBox::DrawEntry( rUDEvt, false, true ); + ListBox::DrawEntry( rUDEvt, false, false ); } else - ListBox::DrawEntry( rUDEvt, false, true, true ); + ListBox::DrawEntry( rUDEvt, false, true ); } else - ListBox::DrawEntry( rUDEvt, true, true ); + ListBox::DrawEntry( rUDEvt, true, false ); } BorderWidthImpl::BorderWidthImpl( BorderWidthImplFlags nFlags, double nRate1, double nRate2, double nRateGap ): |