diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-11-25 11:31:02 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-11-26 09:13:03 +0100 |
commit | 2d341a75c083cf2336fd14db66e850109fe83c89 (patch) | |
tree | 493337143ecb6747cf60d4570855a6022ab30571 /sw | |
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>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/edit/edattr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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, |