diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-08 09:43:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-08 10:00:05 +0100 |
commit | 1c316e0b060b9c58ef726631d4b4b86cb4ef149e (patch) | |
tree | 1fb02158653913aecd2ff88b85bba28cde348257 /sfx2 | |
parent | 4d19209880729327829451241c68c9508bc00c51 (diff) |
CID#1079304 uninitialized members
and CID#1079303
Change-Id: I52e70424ca83ae7c9c73dd28d93912a1228ce2bd
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 49d175f40e10..58d871ba3439 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -2250,6 +2250,7 @@ FileDialogHelper::FileDialogHelper( const OUString& rFact, SfxFilterFlags nMust, SfxFilterFlags nDont ) + : m_nError(0) { mpImp = new FileDialogHelper_Impl( this, nDialogType, nFlags ); mxImp = mpImp; @@ -2268,6 +2269,7 @@ FileDialogHelper::FileDialogHelper( SfxFilterFlags nDont, const OUString& rStandardDir, const ::com::sun::star::uno::Sequence< OUString >& rBlackList) + : m_nError(0) { mpImp = new FileDialogHelper_Impl( this, nDialogType, nFlags, nDialog, NULL, rStandardDir, rBlackList ); mxImp = mpImp; @@ -2281,6 +2283,7 @@ FileDialogHelper::FileDialogHelper( sal_Int16 nDialogType, sal_Int64 nFlags, Window* _pPreferredParent ) + : m_nError(0) { mpImp = new FileDialogHelper_Impl( this, nDialogType, nFlags, SFX2_IMPL_DIALOG_CONFIG, _pPreferredParent ); mxImp = mpImp; @@ -2294,6 +2297,7 @@ FileDialogHelper::FileDialogHelper( const OUString& rStandardDir, const ::com::sun::star::uno::Sequence< OUString >& rBlackList, Window* _pPreferredParent ) + : m_nError(0) { mpImp = new FileDialogHelper_Impl( this, nDialogType, nFlags, SFX2_IMPL_DIALOG_CONFIG, _pPreferredParent,rStandardDir, rBlackList ); mxImp = mpImp; |