Commit 7822d9b5 authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander Trofimov

git-svn-id:...

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@52607 954022d7-b5bf-4e40-9824-e11837661b57
parent 69eeed81
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
#include "OfficeSvmFile.h" #include "OfficeSvmFile.h"
#include "ATLDefine.h" #include "ATLDefine.h"
#ifdef USE_IMAGESTIDIO #define USE_IMAGESTUDIO
#ifdef USE_IMAGESTUDIO
#import "../../../Redist/ASCImageStudio3.dll" rename_namespace("ImageStudio") #import "../../../Redist/ASCImageStudio3.dll" rename_namespace("ImageStudio")
#endif #endif
void ConvertSvmToImage( const boost::filesystem::wpath & oSource, const boost::filesystem::wpath & oDestination ) void ConvertSvmToImage( const boost::filesystem::wpath & oSource, const boost::filesystem::wpath & oDestination )
{ {
#ifdef USE_IMAGESTIDIO #ifdef USE_IMAGESTUDIO
std::wstring sXmlExt = L""; std::wstring sXmlExt = L"";
std::wstring sExt = oDestination.extension(); std::wstring sExt = oDestination.extension();
std::transform( sExt.begin(), sExt.end(), sExt.begin(), tolower); std::transform( sExt.begin(), sExt.end(), sExt.begin(), tolower);
......
...@@ -11,6 +11,6 @@ ...@@ -11,6 +11,6 @@
#include <tchar.h> #include <tchar.h>
//#define USE_IMAGESTIDIO #define USE_IMAGESTUDIO
// TODO: reference additional headers your program requires here // TODO: reference additional headers your program requires here
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