[Libreoffice-commits] core.git: sw/source

Vitaliy Anderson vanderson at smartru.com
Fri Apr 20 17:44:49 UTC 2018


 sw/source/core/text/itrform2.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 0be3db28a4db4d2c81a5cb2edd48711eec55b51b
Author: Vitaliy Anderson <vanderson at smartru.com>
Date:   Mon Feb 19 12:43:09 2018 +0300

    tdf#115067: We need to differentiate NBSP blank portions
    
    regression from commit 1c1747ac13a9d895df0fcba2fbb1bd266dccd74b
      tdf#104668 remove the difference between MSO and LO text alignment
    
    Change-Id: I9516340a488f5e1d060dbe5f510eb85030d75ddc
    Reviewed-on: https://gerrit.libreoffice.org/49972
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
old mode 100644
new mode 100755
index f05a5f872509..3e32430d1c36
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -1309,7 +1309,8 @@ SwLinePortion *SwTextFormatter::NewPortion( SwTextFormatInfo &rInf )
                 pPor = new SwSoftHyphPortion; break;
 
             case CHAR_HARDBLANK:                    // no-break space
-                pPor = new SwBlankPortion( ' ' ); break;
+                // Please check tdf#115067 if you want to edit the char
+                pPor = new SwBlankPortion( cChar ); break;
 
             case CHAR_HARDHYPHEN:               // non-breaking hyphen
                 pPor = new SwBlankPortion( '-' ); break;


More information about the Libreoffice-commits mailing list