diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-05 14:30:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 08:31:30 +0200 |
commit | a1ead1a0281a369087f1b2cce09431542c29bece (patch) | |
tree | dcc7dd8dc2fee88d4f125a7e1c8dd265b64030d5 /vcl/source/control/prgsbar.cxx | |
parent | ee96ea7236958a89b60c87f688070412835ead3f (diff) |
loplugin unnecessaryparan improvements
Change-Id: I73e945d6ec53537a0da45f6b6291018c7f251a7e
Reviewed-on: https://gerrit.libreoffice.org/39587
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/prgsbar.cxx')
-rw-r--r-- | vcl/source/control/prgsbar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx index 5a34d2fd1628..0f2a624ce9c1 100644 --- a/vcl/source/control/prgsbar.cxx +++ b/vcl/source/control/prgsbar.cxx @@ -77,7 +77,7 @@ void ProgressBar::ImplInitSettings( bool bFont, if( !IsControlBackground() && IsNativeControlSupported( ControlType::Progress, ControlPart::Entire ) ) { - if( (GetStyle() & WB_BORDER) ) + if( GetStyle() & WB_BORDER ) SetBorderStyle( WindowBorderStyle::REMOVEBORDER ); EnableChildTransparentMode(); SetPaintTransparent( true ); |