Kaydet (Commit) 14fa2698 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

bnc#822347: if number type is not set, skip numbering

If numbering is detected then (level is > 0) and the number type
is not set, the defult bullet symbol is written. This is not
correct as the default should be SVX_NUM_NUMBER_NONE which should
skip numbering or set it to none. With this change the numbering
is skipped (as in MSO).

Change-Id: I8d08a6325509c7bd6f96f64c8d29e5f3045458ca
üst a870b029
...@@ -1560,6 +1560,9 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa ...@@ -1560,6 +1560,9 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa
} }
} }
if (nNumberingType == SVX_NUM_NUMBER_NONE)
return;
if( !aGraphicURL.isEmpty() ) if( !aGraphicURL.isEmpty() )
{ {
OUString sRelId = WriteImage( aGraphicURL ); OUString sRelId = WriteImage( aGraphicURL );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment