mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
X2t doct_bin2fb
This commit is contained in:
@ -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>");
|
||||
|
||||
Reference in New Issue
Block a user