oox/source/export/drawingml.cxx |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 2ff13e13f5f1ec7436e99c6ff7c9a863bc1a1572
Author: Charu Tyagi <charu.ty...@ericsson.com>
Date:   Tue Apr 14 15:30:00 2015 +0530

    tdf#90607:Issue in bullets not having  any text following.
    
    Change-Id: If0571864684ec484e859c967aebb23c378c302ef
    Reviewed-on: https://gerrit.libreoffice.org/15298
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 1b0d64f..e504113 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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to