Commit ae4391c5 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander Trofimov

to Revision: 64939

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@64943 954022d7-b5bf-4e40-9824-e11837661b57
parent 03bdaf1e
......@@ -3107,7 +3107,7 @@ namespace BinXlsxRW {
SerializeCommon::ReadFileType(sXMLOptions, fileType, nCodePage, wcDelimiter, saveFileType);
// Делаем для CSV перебивку пути, иначе создается папка с одинаковым имеем (для rels) и файл не создается.
if (BinXlsxRW::c_oFileTypes::CSV == fileType)
sDstPath = NSSystemPath::GetDirectoryName(sDstPath);
sDstPath = std_string2string(NSSystemPath::GetDirectoryName(string2std_string(sDstPath)));
OOX::Spreadsheet::CXlsx oXlsx;
SaveParams oSaveParams(sDstPath + FILE_SEPARATOR_STR + OOX::Spreadsheet::FileTypes::Workbook.DefaultDirectory().GetPath() + FILE_SEPARATOR_STR + OOX::FileTypes::Theme.DefaultDirectory().GetPath());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment