X2t doct_bin2fb

This commit is contained in:
Kulikova Svetlana
2021-02-15 10:55:45 +03:00
parent 3a7408aadb
commit d97cab1499
2 changed files with 39 additions and 12 deletions

View File

@ -1757,8 +1757,7 @@ HRESULT CFb2File::FromHtml(const std::wstring& sSrc, const std::wstring& sDst)
int nDeath = oCoreReader.GetDepth();
while (oCoreReader.ReadNextSiblingNode(nDeath))
{
std::wstring sPrefix = oCoreReader.GetNamespacePrefix();
if (sPrefix == L"dc")
if (oCoreReader.GetNamespacePrefix() == L"dc")
{
std::wstring sName = oCoreReader.GetName();
if (sName == L"dc:creator")
@ -1770,10 +1769,6 @@ HRESULT CFb2File::FromHtml(const std::wstring& sSrc, const std::wstring& sDst)
else if (sName == L"dc:subject")
sKeywords += oCoreReader.GetText2() + L' ';
}
else if (sPrefix == L"cp")
{
}
}
oDocument.WriteString(L"<genre>dramaturgy</genre>");