summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-27 11:42:30 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-27 12:58:51 +0000
commita5b57622f9610d90e54adf6a2cf114f43b063c17 (patch)
tree4d21c3530f1b256bd2689fd26ed9fb087e6027eb /framework
parent0564c1c2ddb3d457252aac26d75b3fe4e374888d (diff)
coverity#1187865 Uninitialized scalar field
Change-Id: I69026472ac720f0dd41710033b3ec3b5f14ccb2c
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uiconfiguration/windowstateconfiguration.cxx25
1 files changed, 18 insertions, 7 deletions
diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx
index 96ec158c9c21..bd05474fbc20 100644
--- a/framework/source/uiconfiguration/windowstateconfiguration.cxx
+++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx
@@ -169,13 +169,24 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper2< XNameCo
// provided to outside code!
struct WindowStateInfo
{
- WindowStateInfo() : aDockingArea( ::com::sun::star::ui::DockingArea_DOCKINGAREA_TOP ),
- aDockPos( 0, 0 ),
- aPos( 0, 0 ),
- aSize( 0, 0 ),
- nInternalState( 0 ),
- nStyle( 0 ),
- nMask( 0 ) {}
+ WindowStateInfo()
+ : bLocked(false)
+ , bDocked(false)
+ , bVisible(false)
+ , bContext(false)
+ , bHideFromMenu(false)
+ , bNoClose(false)
+ , bSoftClose(false)
+ , bContextActive(false)
+ , aDockingArea(::com::sun::star::ui::DockingArea_DOCKINGAREA_TOP)
+ , aDockPos(0, 0)
+ , aPos(0, 0)
+ , aSize(0, 0)
+ , nInternalState(0)
+ , nStyle(0)
+ , nMask(0)
+ {
+ }
bool bLocked : 1,
bDocked : 1,