summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/pszctrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-16 10:14:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-16 13:25:17 +0200
commit4b1d185de3cdab97805391a41c778cce9c5fce19 (patch)
tree3fc55de845d449c92902fc3c59c46eccf266bf53 /svx/source/stbctrls/pszctrl.cxx
parentba951a969d76fc5ea863bb19c24140bbf390694b (diff)
loplugin:singlevalfields in vcl
Change-Id: I159f94fba64acc0e0599b64be02c7864b1ed02c3 Reviewed-on: https://gerrit.libreoffice.org/61813 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/stbctrls/pszctrl.cxx')
-rw-r--r--svx/source/stbctrls/pszctrl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx
index 018f353a6021..98fce9a6bdba 100644
--- a/svx/source/stbctrls/pszctrl.cxx
+++ b/svx/source/stbctrls/pszctrl.cxx
@@ -327,8 +327,7 @@ void SvxPosSizeStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
pImpl->bTable = false;
}
- if ( GetStatusBar().AreItemsVisible() )
- GetStatusBar().SetItemData( GetId(), nullptr );
+ GetStatusBar().SetItemData( GetId(), nullptr );
// set only strings as text at the statusBar, so that the Help-Tips
// can work with the text, when it is too long for the statusBar