diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 16:36:16 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 20:00:38 +0100 |
commit | 17c3d827e12d9ca99b869132f23ba212b11f909a (patch) | |
tree | f9e9b6ae7ba07cf0d935a9fcb8c74add48b44fd4 /fpicker/source | |
parent | 3e1f0c060f02db4515b2dc705bda17ee068d51b4 (diff) |
cppcheck: performing init in init list (filter/fpicker/framework)
Change-Id: I7b602d17949f75c32dfe87acb92498111812ac32
Reviewed-on: https://gerrit.libreoffice.org/83612
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'fpicker/source')
-rw-r--r-- | fpicker/source/office/fileview.hxx | 3 | ||||
-rw-r--r-- | fpicker/source/win32/VistaFilePickerImpl.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/fpicker/source/office/fileview.hxx b/fpicker/source/office/fileview.hxx index 4c2a8f60af58..dfd669d9f396 100644 --- a/fpicker/source/office/fileview.hxx +++ b/fpicker/source/office/fileview.hxx @@ -54,9 +54,8 @@ struct FileViewAsyncAction sal_uInt32 nMaxTimeout; /// maximum time to wait for a result, in milliseconds, until eTimeout is returned Link<void*,void> aFinishHandler; /// the handler to be called when the action is finished. Called in every case, no matter of the result - FileViewAsyncAction() + FileViewAsyncAction() : nMinTimeout(0), nMaxTimeout (0) { - nMinTimeout = nMaxTimeout = 0; } }; diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx index 1899f6addfc9..ba20ef75e64f 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/VistaFilePickerImpl.cxx @@ -187,10 +187,10 @@ VistaFilePickerImpl::VistaFilePickerImpl() , m_iEventHandler(new VistaFilePickerEventHandler(this)) , m_bInExecute (false) , m_bWasExecuted (false) + , m_hParentWindow(choose_parent_window()) , m_sDirectory () , m_sFilename () { - m_hParentWindow = choose_parent_window(); } |