summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-01 10:24:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-01 14:38:45 +0100
commit87ea90dfdd9cc9a430487cfb6e37a5dd6b393a53 (patch)
tree2a0df01f49dc404c9233702bc2028194ab0866e6
parente5529e3a89df2b9bd5d76e3b8fbbfa17c4203d28 (diff)
cid#1470371 Uninitialized scalar field
Change-Id: Ida60f251e83ea150e563bc0ef5a2be64f481fb08 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106960 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sfx2/source/sidebar/TabBar.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index 11567b228eb0..b4cd8907d96b 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -237,6 +237,8 @@ TabBar::Item::Item(TabBar& rTabBar)
: mrTabBar(rTabBar)
, mxBuilder(Application::CreateBuilder(rTabBar.GetContainer(), "sfx/ui/tabbutton.ui"))
, mxButton(mxBuilder->weld_toolbar("button"))
+ , mbIsHidden(false)
+ , mbIsHiddenByDefault(false)
{
}