From 3f7edeec4fb418ba44188ce3b940df10895427ed Mon Sep 17 00:00:00 2001 From: Timofey Derevyankin Date: Tue, 12 Aug 2025 12:16:40 +0300 Subject: [PATCH] Fix bug with break columns clear all comments into code --- OdfFile/Reader/Converter/docx_conversion_context.cpp | 1 - OdfFile/Reader/Format/text_elements.cpp | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/OdfFile/Reader/Converter/docx_conversion_context.cpp b/OdfFile/Reader/Converter/docx_conversion_context.cpp index 30521614b8..e325fba341 100644 --- a/OdfFile/Reader/Converter/docx_conversion_context.cpp +++ b/OdfFile/Reader/Converter/docx_conversion_context.cpp @@ -1613,7 +1613,6 @@ bool docx_conversion_context::process_page_properties(std::wostream & strm) { if ( is_next_dump_page_properties() || get_section_context().get_last().is_dump_ ) { - _CP_LOG << L"I`m inside!\n"; std::wstring pageProperties = get_page_properties(); odf_reader::page_layout_instance * page_layout_instance_ = root()->odf_context().pageLayoutContainer().page_layout_by_name(pageProperties); diff --git a/OdfFile/Reader/Format/text_elements.cpp b/OdfFile/Reader/Format/text_elements.cpp index a60707850a..45875aad5f 100644 --- a/OdfFile/Reader/Format/text_elements.cpp +++ b/OdfFile/Reader/Format/text_elements.cpp @@ -364,9 +364,8 @@ void paragraph::docx_convert(oox::docx_conversion_context & Context, _CP_OPT(std if (!Context.process_headers_footers_ && (next_section_ || next_end_section_)) // remove in text::section - GreekSynopsis.odt { - if( !flag_for_emplicit_end ) // Если параграф не последний (т.е flag_for_emplicit_end = false ) + if( !flag_for_emplicit_end ) { - // То возможно в нем явно указан разрыв, потому мы устанавливаем флаг is_dump = true Context.get_section_context().get_last().is_dump_ = true; is_empty = false; }