Commit 437c3e93 authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander Trofimov

changed paths, disabled file downloader by macro

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58835 954022d7-b5bf-4e40-9824-e11837661b57
parent 2cb32147
...@@ -7,7 +7,9 @@ ...@@ -7,7 +7,9 @@
#include "SVGConverter.h" #include "SVGConverter.h"
#endif #endif
#ifndef DISABLE_FILE_DOWNLOADER
#include "../PPTXWriter/FileDownloader.h" #include "../PPTXWriter/FileDownloader.h"
#endif
#ifdef ENABLE_ODP_TO_PPTX_CONVERT #ifdef ENABLE_ODP_TO_PPTX_CONVERT
...@@ -600,6 +602,7 @@ namespace NSPresentationEditor ...@@ -600,6 +602,7 @@ namespace NSPresentationEditor
AVSINLINE CString DownloadImage(const CString& strFile) AVSINLINE CString DownloadImage(const CString& strFile)
{ {
#ifndef DISABLE_FILE_DOWNLOADER
CFileDownloader oDownloader(strFile, TRUE); CFileDownloader oDownloader(strFile, TRUE);
oDownloader.Start( 1 ); oDownloader.Start( 1 );
while ( oDownloader.IsRunned() ) while ( oDownloader.IsRunned() )
...@@ -611,6 +614,7 @@ namespace NSPresentationEditor ...@@ -611,6 +614,7 @@ namespace NSPresentationEditor
{ {
m_strFileName = oDownloader.GetFilePath(); m_strFileName = oDownloader.GetFilePath();
} }
#endif
} }
}; };
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <math.h> #include <math.h>
#include "./../Common.h" #include "./../Common.h"
#include "../../../../../Common/DocxFormat/Source/XML/XmlUtils.h" #include "../../../../../Common/DocxFormat/Source/XML/xmlutils.h"
namespace NSGuidesOOXML namespace NSGuidesOOXML
{ {
......
#pragma once #pragma once
#include "formula.h" #include "Formula.h"
#include "../Path.h" #include "../Path.h"
namespace NSGuidesVML namespace NSGuidesVML
...@@ -586,4 +586,4 @@ namespace NSGuidesVML ...@@ -586,4 +586,4 @@ namespace NSGuidesVML
return strRes; return strRes;
} }
}; };
} }
\ No newline at end of file
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