diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-27 15:08:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-28 11:21:17 +0000 |
commit | 48a8d6d8434908690bc2a51d27f1051bd550c9b0 (patch) | |
tree | 066f8fc9753bdba62f87f205baface6e729857bf /sfx2 | |
parent | f7d6f3e4e3fda3cd4936880918e2831246634a3e (diff) |
loplugin:singlevalfields in various
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e
Reviewed-on: https://gerrit.libreoffice.org/26738
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/workwin.hxx | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 0b7711bfb1ae..51a437946be7 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -1493,7 +1493,7 @@ void SfxWorkWindow::UpdateStatusBar_Impl() // No status bar, if no ID is required or when in FullScreenView or // if disabled if ( aStatBar.nId && IsDockingAllowed() && bInternalDockingAllowed && bShowStatusBar && - aStatBar.bOn && !bIsFullScreen ) + !bIsFullScreen ) { // Id has changed, thus create a suitable Statusbarmanager, this takes // over the current status bar; diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index d9a68d6c25a0..b5826a437f05 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -67,11 +67,9 @@ struct SfxObjectBar_Impl struct SfxStatBar_Impl { sal_uInt16 nId; - bool bOn; SfxStatBar_Impl() : - nId(0), - bOn(true) + nId(0) {} }; |