Merge commit '8c726e475a562e64a39d36cac32226249a3f7697' into feature/odf

This commit is contained in:
Elena.Subbotina
2021-09-07 12:10:14 +03:00
471 changed files with 32245 additions and 18962 deletions

View File

@ -41,6 +41,10 @@
#if defined(WIN32) || defined(_WIN32)
#include <windows.h>
#include "io.h"
#endif
#if defined(__linux__)
#include "unistd.h"
#endif
#if defined(_WIN32_WCE)

View File

@ -706,8 +706,11 @@ namespace XmlUtils
std::wstring sRes;
if (!GetAttributeIfExist(strAttributeName, sRes))
{
if (!GetTextIfExist(sRes))
sRes = strDefaultValue;
CXmlNode oTemp;
if (GetNode(strAttributeName, oTemp))
sRes = oTemp.GetText();
else
sRes = strDefaultValue;
}
return sRes;
}

View File

@ -32,8 +32,8 @@
#ifndef _BUILD_XMLLIGHT_PRIVATE_CROSSPLATFORM_H_
#define _BUILD_XMLLIGHT_PRIVATE_CROSSPLATFORM_H_
#include "../../../DesktopEditor/common/File.h"
#include "../../../DesktopEditor/common/StringExt.h"
#include "../../common/File.h"
#include "../../common/StringExt.h"
#ifdef _IOS
#include <libxml2/libxml/xmlreader.h>