summaryrefslogtreecommitdiff
path: root/sfx2
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-09 21:06:48 +0100
commitebc76496be42f1ca9141c94cc544a3fa922cad38 (patch)
tree873868774380ac44cf49b8cf57c87607d2fa6667 /sfx2
parentd41d6768a17c65460565265f41a590f8e6982ad9 (diff)
cid#1470371 Uninitialized scalar field
Change-Id: Ida60f251e83ea150e563bc0ef5a2be64f481fb08 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107501 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-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 9738ae6ca29f..fdbf3cb01b15 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)
{
}