summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/fileview.hxx3
-rw-r--r--fpicker/source/win32/VistaFilePickerImpl.cxx2
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();
}