diff --git a/MsBinaryFile/DocFile/DocumentMapping.cpp b/MsBinaryFile/DocFile/DocumentMapping.cpp index 25d3384542..840a52ed5b 100644 --- a/MsBinaryFile/DocFile/DocumentMapping.cpp +++ b/MsBinaryFile/DocFile/DocumentMapping.cpp @@ -1833,10 +1833,10 @@ namespace DocFileFormat { desc->bUsed = true; m_pXmlWriter->WriteNodeBegin( L"w:footnoteReference", true ); - if (desc->aFtnIdx == 0) - { - m_pXmlWriter->WriteAttribute( L"w:customMarkFollows", L"1"); - } + //if (desc->aFtnIdx == 0) + //{ + // m_pXmlWriter->WriteAttribute( L"w:customMarkFollows", L"1"); + //} m_pXmlWriter->WriteAttribute( L"w:id", FormatUtils::IntToWideString(_footnoteNr++ ) ); m_pXmlWriter->WriteNodeEnd( L"", true ); } @@ -1853,10 +1853,10 @@ namespace DocFileFormat { desc->bUsed = true; m_pXmlWriter->WriteNodeBegin( L"w:endnoteReference", true ); - if (desc->aEndIdx == 0) - { - m_pXmlWriter->WriteAttribute( L"w:customMarkFollows", L"1"); - } + //if (desc->aEndIdx == 0) + //{ + // m_pXmlWriter->WriteAttribute( L"w:customMarkFollows", L"1"); + //} m_pXmlWriter->WriteAttribute( L"w:id", FormatUtils::IntToWideString(_endnoteNr++ )); m_pXmlWriter->WriteNodeEnd( L"", true ); } diff --git a/OdfFile/Reader/Format/paragraph_elements.cpp b/OdfFile/Reader/Format/paragraph_elements.cpp index 95ee87e203..f72bc8bdc8 100644 --- a/OdfFile/Reader/Format/paragraph_elements.cpp +++ b/OdfFile/Reader/Format/paragraph_elements.cpp @@ -888,14 +888,13 @@ void note::docx_convert(oox::docx_conversion_context & Context) Context.get_notes_context().set_current_note(text_note_class_.get_type(), dynamic_cast(text_note_citation_.get())); - std::wstring sCustom = text_note_citation_ ? L" w:customMarkFollows=\"1\"" : L""; if (text_note_class_.get_type() == noteclass::Footnote) { - Context.output_stream() << ""; + Context.output_stream() << ""; } else { - Context.output_stream() << ""; + Context.output_stream() << ""; } if (text_note_citation_)