diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 12:50:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 14:43:29 +0000 |
commit | 0cd511153b4dc4fb3378fb04641e8c3c2ea8543b (patch) | |
tree | 0d01ce9a51853da447fd594f1b1dfa8da2a81689 /sfx2/source | |
parent | e5c05f4977818ea48e14a0e59560e3e14aa378b4 (diff) |
coverity#708144 Uninitialized scalar field
Change-Id: Idbea2d2d0d282cbe131d1b96a0d7bafde3886c3a
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/fileobj.cxx | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx index c53000fd5baf..55ecb5270158 100644 --- a/sfx2/source/appl/fileobj.cxx +++ b/sfx2/source/appl/fileobj.cxx @@ -63,18 +63,23 @@ struct Impl_DownLoadData } }; - - - -SvFileObject::SvFileObject() : - pDownLoadData( NULL ), pOldParent( NULL ), nType( FILETYPE_TEXT ) +SvFileObject::SvFileObject() + : pDownLoadData(NULL) + , pOldParent(NULL) + , nType(FILETYPE_TEXT) + , bLoadAgain(true) + , bSynchron(false) + , bLoadError(false) + , bWaitForData(false) + , bInNewData(false) + , bDataReady(false) + , bNativFormat(false) + , bClearMedium(false) + , bStateChangeCalled(false) + , bInCallDownLoad(false) { - bLoadAgain = sal_True; - bSynchron = bLoadError = bWaitForData = bDataReady = bNativFormat = - bClearMedium = bStateChangeCalled = bInCallDownLoad = sal_False; } - SvFileObject::~SvFileObject() { if ( xMed.Is() ) |