Index: src/ch/CustomCopyDlg.cpp =================================================================== diff -u -N -rcdc76e1a95383dff63a5254aeb8d37035028512c -rcb4e9d4b60d62b25ae2cf556c0642601af56c787 --- src/ch/CustomCopyDlg.cpp (.../CustomCopyDlg.cpp) (revision cdc76e1a95383dff63a5254aeb8d37035028512c) +++ src/ch/CustomCopyDlg.cpp (.../CustomCopyDlg.cpp) (revision cb4e9d4b60d62b25ae2cf556c0642601af56c787) @@ -43,15 +43,7 @@ CCustomCopyDlg::CCustomCopyDlg() : ictranslate::CLanguageDialog(CCustomCopyDlg::IDD) { - m_bOnlyCreate = FALSE; - m_bIgnoreFolders = FALSE; - m_bFilters = FALSE; - m_bAdvanced = FALSE; - m_bForceDirectories = FALSE; - GetConfig().ExtractSubConfig(BRANCH_TASK_SETTINGS, m_tTaskDefinition.GetConfiguration()); - - m_bActualisation = false; } CCustomCopyDlg::CCustomCopyDlg(const chcore::TTaskDefinition& rTaskDefinition) : @@ -906,11 +898,10 @@ { boost::shared_array spBuffer; - ulong_t ulSize = 0; - CFileDialog dlg(TRUE, NULL, NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, GetResManager().LoadString(IDS_FLTALLFILTER_STRING)); if(dlg.DoModal() == IDOK) { + unsigned long ulSize = 0; UINT uiCount=0; try { @@ -925,7 +916,7 @@ return; } - ulSize = boost::numeric_cast(llSize); + ulSize = boost::numeric_cast(llSize); spBuffer.reset(new BYTE[ulSize + 3]); // guarantee that we have null at the end of the string (3 bytes to compensate for possible odd number of bytes and for unicode) memset(spBuffer.get(), 0, ulSize + 3);