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

New commits:
commit 2d341a75c083cf2336fd14db66e850109fe83c89
Author:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
AuthorDate: Mon Nov 25 11:31:02 2019 +0100
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
CommitDate: Tue Nov 26 09:13:03 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.mehrbr...@cib.de>

diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index 64227cde6291..20abffc64ea4 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -52,7 +52,7 @@
 // => no attributes
 static sal_uInt16 getMaxLookup()
 {
-    return 1000;
+    return 10000;
 }
 
 bool SwEditShell::GetPaMAttr( SwPaM* pPaM, SfxItemSet& rSet,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to