Commit badefbee authored by Alexander Trofimov's avatar Alexander Trofimov

restore conflicts files after rebase

parent 3b2fb50b
...@@ -289,7 +289,7 @@ int Font::serialize_properties(std::wostream & stream, bool isRPr) ...@@ -289,7 +289,7 @@ int Font::serialize_properties(std::wostream & stream, bool isRPr)
} }
} }
if (bCharSet.value()) if (bCharSet)
{ {
CP_XML_NODE(L"charset") CP_XML_NODE(L"charset")
{ {
...@@ -341,7 +341,7 @@ int Font::serialize_properties(std::wostream & stream, bool isRPr) ...@@ -341,7 +341,7 @@ int Font::serialize_properties(std::wostream & stream, bool isRPr)
} }
} }
if (bFamily.value()) if (bFamily)
{ {
CP_XML_NODE(L"family") CP_XML_NODE(L"family")
{ {
...@@ -415,7 +415,7 @@ int Font::serialize_properties(std::wostream & stream, bool isRPr) ...@@ -415,7 +415,7 @@ int Font::serialize_properties(std::wostream & stream, bool isRPr)
} }
} }
if ((uls.value()) && (*uls.value() > 0)) if (uls > 0)
{ {
CP_XML_NODE(L"u") CP_XML_NODE(L"u")
{ {
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "../../Common/DocxFormat/Source/SystemUtility/FileSystem/Directory.h" #include "../../Common/DocxFormat/Source/SystemUtility/FileSystem/Directory.h"
#include "../../DesktopEditor/common/Directory.h" #include "../../DesktopEditor/common/Directory.h"
#include "../../DesktopEditor/doctrenderer/docbuilder.h"
//#include <iostream> //#include <iostream>
...@@ -415,5 +416,8 @@ int main(int argc, char *argv[]) ...@@ -415,5 +416,8 @@ int main(int argc, char *argv[])
// delete temp dir // delete temp dir
NSDirectory::DeleteDirectory(sTempDir); NSDirectory::DeleteDirectory(sTempDir);
//clean up v8
NSDoctRenderer::CDocBuilder::Dispose();
return getReturnErrorCode(result); return getReturnErrorCode(result);
} }
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