[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - sw/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 26 22:00:36 UTC 2019


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

New commits:
commit 84b6c7563d9561efeb375e33dcf7ff20c4eabfc8
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Mon Nov 25 11:31:02 2019 +0100
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Tue Nov 26 22:59:35 2019 +0100

    tdf#120734 Increase max lookup value to 10.000
    
    Writer stops analyzing text attributes when the selection
    has more paragraphs than this max lookup value.
    Increase this value to 10.000 as it's quite possible to have
    longer texts with more than 1.000 paragraphs with the same style.
    
    This also fixes tdf#112800.
    
    Change-Id: Icd0c4026f55058af77334930e3601d18f9aae6ae
    Reviewed-on: https://gerrit.libreoffice.org/83657
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    (cherry picked from commit 2d341a75c083cf2336fd14db66e850109fe83c89)
    Reviewed-on: https://gerrit.libreoffice.org/83727
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index 13304fb3ad03..eb8b2d8c000b 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -57,7 +57,7 @@
 // => no attributes
 static sal_uInt16 getMaxLookup()
 {
-    return 1000;
+    return 10000;
 }
 
 bool SwEditShell::GetPaMAttr( SwPaM* pPaM, SfxItemSet& rSet,


More information about the Libreoffice-commits mailing list