diff options
-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 3b2fcaa891a7..971fc0fd0825 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -753,7 +753,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; } |