mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
.
This commit is contained in:
@ -165,6 +165,7 @@
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\DesktopEditor\raster\exif.cpp" />
|
||||
<ClCompile Include="..\..\HtmlRenderer\src\ASCSVGWriter.cpp" />
|
||||
<ClCompile Include="..\ASCOfficeDrawingConverter.cpp">
|
||||
<Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Disabled</Optimization>
|
||||
@ -342,6 +343,7 @@
|
||||
<ClInclude Include="..\..\Common\DocxFormat\Source\DocxFormat\WritingVector.h" />
|
||||
<ClInclude Include="..\..\Common\DocxFormat\Source\SystemUtility\File.h" />
|
||||
<ClInclude Include="..\..\Common\DocxFormat\Source\SystemUtility\SystemUtility.h" />
|
||||
<ClInclude Include="..\..\DesktopEditor\raster\exif.h" />
|
||||
<ClInclude Include="..\ASCOfficeDrawingConverter.h" />
|
||||
<ClInclude Include="..\ASCOfficePPTXFile.h" />
|
||||
<ClInclude Include="..\Editor\BinaryFileReaderWriter.h" />
|
||||
|
||||
@ -272,6 +272,9 @@
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\ASCOfficeDrawingConverter.cpp" />
|
||||
<ClCompile Include="..\ASCOfficePPTXFileRealization.cpp" />
|
||||
<ClCompile Include="..\..\DesktopEditor\raster\exif.cpp">
|
||||
<Filter>BinaryReaderWriter</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\Editor\BinaryFileReaderWriter.h">
|
||||
@ -1476,5 +1479,8 @@
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\ASCOfficeDrawingConverter.h" />
|
||||
<ClInclude Include="..\ASCOfficePPTXFile.h" />
|
||||
<ClInclude Include="..\..\DesktopEditor\raster\exif.h">
|
||||
<Filter>BinaryReaderWriter</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@ -12,7 +12,7 @@ CONFIG += core_static_link_libstd
|
||||
|
||||
DEFINES += FB2FILE_USE_DYNAMIC_LIBRARY
|
||||
|
||||
CORE_ROOT_DIR = $$PWD/../../core
|
||||
CORE_ROOT_DIR = $$PWD/..
|
||||
PWD_ROOT_DIR = $$PWD
|
||||
include($$CORE_ROOT_DIR/Common/base.pri)
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ CONFIG += core_static_link_libstd
|
||||
DEFINES += HTMLFILE2_USE_DYNAMIC_LIBRARY
|
||||
DEFINES += CSSCALCULATOR_LIBRARY_STATIC
|
||||
|
||||
CORE_ROOT_DIR = $$PWD/../../core
|
||||
CORE_ROOT_DIR = $$PWD/..
|
||||
PWD_ROOT_DIR = $$PWD
|
||||
include($$CORE_ROOT_DIR/Common/base.pri)
|
||||
|
||||
|
||||
@ -58,10 +58,9 @@ namespace NExtractTools
|
||||
nSeparator2Pos = sFile2.rfind(_T('\\'));
|
||||
}
|
||||
|
||||
|
||||
// check for directory in name
|
||||
bool bIsFile1Directory = ((std::wstring::npos != nSeparator1Pos) && (nExt1Pos < nSeparator1Pos)); // i.e: /root1/child1.lalala/folder
|
||||
bool bIsFile2Directory = ((std::wstring::npos != nSeparator2Pos) && (nExt2Pos < nSeparator2Pos));
|
||||
bool bIsFile1Directory = (std::wstring::npos != nExt1Pos) ? ((std::wstring::npos != nSeparator1Pos) && (nExt1Pos < nSeparator1Pos)) : (std::wstring::npos != nSeparator1Pos); // i.e: /root1/child1.lalala/folder
|
||||
bool bIsFile2Directory = (std::wstring::npos != nExt2Pos) ? ((std::wstring::npos != nSeparator2Pos) && (nExt2Pos < nSeparator2Pos)) : (std::wstring::npos != nSeparator2Pos);
|
||||
|
||||
// automatic zip/unzip task detection
|
||||
if (bIsFile1Directory)
|
||||
|
||||
Reference in New Issue
Block a user