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

László Németh (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 17 06:58:02 UTC 2020


 sw/qa/extras/layout/layout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d195f11fc0a9ca5a3974cd9814d64966120df174
Author:     László Németh <nemeth at numbertext.org>
AuthorDate: Tue Jun 16 19:41:27 2020 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Wed Jun 17 08:57:29 2020 +0200

    fix typo
    
    Manual line break and not page break in
    commit cec1d2cb8eb17a28bf418625ea6ea522d6c1c580
    and its description:
    
    "tdf#106234 sw: don't justify after centered tabs
    
    (also after right-aligned and decimal-aligned tabs)
    before *manual line break* in a justified paragraph.
    Justify only after left-aligned tabs, like MSO does."
    
    Change-Id: I261c39c102742017bf246e737486c4700889548c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96476
    Tested-by: Jenkins
    Reviewed-by: László Németh <nemeth at numbertext.org>

diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index 4a09d62a1628..eb772aa54611 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -3081,7 +3081,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf106234)
     pViewShell->Reformat();
 
     xmlDocUniquePtr pXmlDoc = parseLayoutDump();
-    // In justified paragraphs, there is justification between left tabulators and page breaks
+    // In justified paragraphs, there is justification between left tabulators and manual line breaks
     assertXPath(pXmlDoc, "/root/page/body/txt[1]/Special", "nType", "PortionType::Margin");
     assertXPathNoAttribute(pXmlDoc, "/root/page/body/txt[1]/Special", "nWidth");
     // but not after centered, right and decimal tabulators


More information about the Libreoffice-commits mailing list