toolkit/source/controls/controlmodelcontainerbase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7daab7859f3b5b4297c45ac1631c68387192a962 Author: Noel Grandin <[email protected]> AuthorDate: Wed May 20 14:17:36 2020 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed May 20 15:00:41 2020 +0200 fix -Werror=maybe-uninitialized Change-Id: I718016b5f9120c18868ed798785af1f8108be25b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94569 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> 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; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
