[Libreoffice-bugs] [Bug 116129] Calc Cell Range method ClearContents does not work with com.sun.star.sheet.CellFlags.STYLES
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 20 22:43:53 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=116129
--- Comment #6 from himajin100000 at gmail.com ---
https://opengrok.libreoffice.org/xref/core/sc/source/core/data/column3.cxx?r=fb9a5d89#1016
What would happen if nDelFlag has STYLES only when (ATTRIB == (HARDATTR |
STYLES))?
https://opengrok.libreoffice.org/xref/core/sc/inc/global.hxx?r=a2601800#175
I first thought it could be ok if I rewrite
(nDelFlag & InsertDeleteFlags::ATTRIB) != InsertDeleteFlags::NONE
instead of
(nDelFlag & InsertDeleteFlags::ATTRIB) == InsertDeleteFlags::ATTRIB
, but in that case it seems, at least to me , that we would not at all need
else-if section.
--
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/20190920/7f486a11/attachment.html>
More information about the Libreoffice-bugs
mailing list