| commit | 2d341a75c083cf2336fd14db66e850109fe83c89 | [log] |
|---|---|---|
| author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | Mon Nov 25 11:31:02 2019 +0100 |
| committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | Tue Nov 26 09:13:03 2019 +0100 |
| tree | 493337143ecb6747cf60d4570855a6022ab30571 | |
| parent | 8dde8f9768f0dab97cdd30e3116f7e4d737c482f [diff] |
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@cib.de>
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx index 64227cd..20abffc 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,