https://bugs.freedesktop.org/show_bug.cgi?id=68347
Xisco FaulĂ <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #14 from Xisco FaulĂ <[email protected]> --- Hello Caolan, With you permission, I add you as a CC because i've seen that you reviewed 6c14d15dbbdc8920e1695b5fdc32b6519508815d which looks to be a regression candidate regarding to bibisect: 47e4a33a6405eb1b5186027f55bd9cb99b0c1fe7..6aeeca56daa9065f607cc7056e7d86d237c84a99 I see that if I don't remove HIDEREDLINED the counts are done correctly: diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx index 260c697..56c5db4 100644 --- a/sw/source/core/txtnode/txtedt.cxx +++ b/sw/source/core/txtnode/txtedt.cxx @@ -1989,7 +1989,7 @@ bool SwTxtNode::CountWords( SwDocStat& rStat, } // ConversionMap to expand fields, remove invisible and redline deleted text for scanner - const ModelToViewHelper aConversionMap(*this, EXPANDFIELDS | EXPANDFOOTNOTE | HIDEINVISIBLE | HIDEREDLINED); + const ModelToViewHelper aConversionMap(*this, EXPANDFIELDS | EXPANDFOOTNOTE | HIDEINVISIBLE); OUString aExpandText = aConversionMap.getViewText(); if (aExpandText.isEmpty() && !bCountNumbering) -- However, I don't really understand the code, don't know wether this change will introduce other regressions. Could you please take a look whenever you have some time ? Thanks -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
