diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 1b0d64f95673..e504113845be 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1513,10 +1513,18 @@ void DrawingML::GetUUID( OStringBuffer& rBuffer ) void DrawingML::WriteRun( Reference< XTextRange > rRun ) { + Reference< XPropertySet > rXPropSet( rRun, UNO_QUERY ); + sal_Int16 nLevel = -1; + GET( nLevel, NumberingLevel ); + const char* sFieldType; bool bIsField = false; OUString sText = rRun->getString(); + //if there is no text following the bullet, add a space after the bullet + if (nLevel !=-1 && sText.isEmpty() ) + sText=" "; + if( sText.isEmpty()) { Reference< XPropertySet > xPropSet( rRun, UNO_QUERY ); |