diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-20 14:17:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-20 15:00:41 +0200 |
commit | 7daab7859f3b5b4297c45ac1631c68387192a962 (patch) | |
tree | 262aa451535a3518c9308f5367210a0aa225f4ad /toolkit/source | |
parent | bd8a6029d96c7ea126d3db896b6ccfac34f13b00 (diff) |
fix -Werror=maybe-uninitialized
Change-Id: I718016b5f9120c18868ed798785af1f8108be25b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94569
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index fc5b0e374c1f..05b9edb18643 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -736,7 +736,7 @@ sal_Bool SAL_CALL ControlModelContainerBase::getEnabled() { SolarMutexGuard aGuard; Reference<XPropertySet> xThis(*this, UNO_QUERY); - bool bEnabled; + bool bEnabled = false; xThis->getPropertyValue(GetPropertyName(BASEPROPERTY_ENABLED)) >>= bEnabled; return bEnabled; } |