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,