diff --git a/OdfFile/Reader/Converter/docx_conversion_context.cpp b/OdfFile/Reader/Converter/docx_conversion_context.cpp
index c5898d0343..064b089151 100644
--- a/OdfFile/Reader/Converter/docx_conversion_context.cpp
+++ b/OdfFile/Reader/Converter/docx_conversion_context.cpp
@@ -2211,13 +2211,13 @@ int docx_conversion_context::process_paragraph_attr(odf_reader::text::paragraph_
{
odf_reader::list_style_container & list_styles = root()->odf_context().listStyleContainer();
- if (list_style_stack_.empty() && list_styles.outline_style() && !get_table_context().in_table())
+ if (!list_style_stack_.empty() && list_styles.outline_style() && !get_table_context().in_table())
{
output_stream() << L"";
- output_stream() << L"";
- output_stream() << L"";
+ output_stream() << L"";
+ output_stream() << L"";
output_stream() << L"";
- }
+ }
output_stream() << L"";
}