Fix crash with 2+ emf inside wmf

This commit is contained in:
Oleg Korshul
2023-08-15 18:25:33 +03:00
parent 796cd30b09
commit 68ea0b5875
6 changed files with 257 additions and 240 deletions

View File

@ -38,7 +38,7 @@
#include <memory>
#ifdef _MSC_VER
#pragma warning (disable: 4100 4189)
#pragma warning (disable: 4100 4189)
#endif
#include "../../common/StringBuilder.h"
@ -52,13 +52,13 @@ namespace XmlUtils
class KERNEL_DECL CXmlWriter
{
private:
class Impl;
std::shared_ptr<Impl> impl_;
class Impl;
std::shared_ptr<Impl> impl_;
public:
CXmlWriter();
~CXmlWriter();
~CXmlWriter();
std::wstring GetXmlString();
void SetXmlString(const std::wstring& strValue);