[Libreoffice-bugs] [Bug 133629] FORMATTING: Calc crashes on setting borders to all cells on more than one sheet simultaneously

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 3 11:46:27 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=133629

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |noelgrandin at gmail.com

--- Comment #2 from Julien Nabet <serval2412 at yahoo.fr> ---
Noel: thought you might be interested in this one.
I see several changes possible:
1) 
Simply replace
for (SCCOL i=nStartCol; i<=nEndCol; i++)
->
for (SCCOL i=nStartCol; i<nEndCol; i++)

2) Like in ScTable::ApplyStyleArea
  2741  // If we would like set all columns to specific style, then change only
default style for not existing columns <== It's the case here
   2742 nEndCol = aCol.size() - 1;
   2743 for (SCCOL i = nStartCol; i <= nEndCol; i++)

3)
nEndCol = ClampToAllocatedColumns(nEndCol);

4) other?

Any thoughts here?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200603/6aebbb9d/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list