summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-08-28 13:32:38 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-08-28 13:50:48 +0200
commit14fa2698f2f651343675761e75be01b84c4c5ff1 (patch)
tree6c8953ed13d7c8fff27b75d362d6e9527dc56434 /oox
parenta870b029a072567cff06efb61fe915c621f178b4 (diff)
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
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 12ec0a52bd73..caf6d0402df9 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1560,6 +1560,9 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa
}
}
+ if (nNumberingType == SVX_NUM_NUMBER_NONE)
+ return;
+
if( !aGraphicURL.isEmpty() )
{
OUString sRelId = WriteImage( aGraphicURL );