summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-04 08:37:26 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-04 11:01:10 +0100
commit16030c0700a3a68b5d6bbb8567bcc8bd690ba966 (patch)
tree61d9414a1f5edf7f49d4551357af237b69c446aa /sc
parent5155e21bf1c511fa844010b9d07e2bfcb9ce8570 (diff)
cid#1636562 Uninitialized scalar field
Change-Id: I4d9f76cc5cb767054e138819d2b8dd9032188c6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177770 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/acctrl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/app/acctrl.cxx b/sc/source/ui/app/acctrl.cxx
index 4f3ac234c3dc..bff92c18e684 100644
--- a/sc/source/ui/app/acctrl.cxx
+++ b/sc/source/ui/app/acctrl.cxx
@@ -33,6 +33,7 @@ SFX_IMPL_STATUSBAR_CONTROL(ScAutoCalculateControl, SfxBoolItem);
ScAutoCalculateControl::ScAutoCalculateControl(sal_uInt16 _nSlotId, sal_uInt16 _nId,
StatusBar& rStb)
: SfxStatusBarControl(_nSlotId, _nId, rStb)
+ , m_bIsActive(false)
{
}
@@ -80,4 +81,4 @@ void ScAutoCalculateControl::Click()
SfxStatusBarControl::Click(); // exec FID_AUTO_CALC and toggle AutoCalc on
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */