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

László Németh (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 1 07:44:35 UTC 2019


 sw/source/core/text/redlnitr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fa5eb82b398e29ae033f7b7c8c8195dfc10cf5b0
Author:     László Németh <nemeth at numbertext.org>
AuthorDate: Thu Jul 25 17:52:20 2019 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Thu Aug 1 09:43:51 2019 +0200

    tdf#118699 change tracking: don't number empty lines
    
    after tracked deletions with numbering in Hide changes mode.
    
    Change-Id: I9a0c01d3aa00a2d54ffd37c8b85027eb2feeb841
    Reviewed-on: https://gerrit.libreoffice.org/76335
    Tested-by: Jenkins
    Reviewed-by: László Németh <nemeth at numbertext.org>

diff --git a/sw/source/core/text/redlnitr.cxx b/sw/source/core/text/redlnitr.cxx
index 0f26c0324a68..045603417850 100644
--- a/sw/source/core/text/redlnitr.cxx
+++ b/sw/source/core/text/redlnitr.cxx
@@ -222,7 +222,7 @@ CheckParaRedlineMerge(SwTextFrame & rFrame, SwTextNode & rTextNode,
     if (extents.empty()) // there was no text anywhere
     {
         assert(mergedText.isEmpty());
-        pParaPropsNode = &rTextNode; // if every node is empty, the first one wins
+        pParaPropsNode = pNode; // if every node is empty, the last one wins
     }
     else
     {


More information about the Libreoffice-commits mailing list