[Libreoffice-bugs] [Bug 116127] Cell Range method ClearContents does not work with com.sun.star.sheet.CellFlags.EDITATTR

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 20 22:36:44 UTC 2019


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

--- Comment #6 from himajin100000 at gmail.com ---
Just a guess:

https://opengrok.libreoffice.org/xref/core/sc/source/ui/unoobj/cellsuno.cxx?r=316b07d0#1819
https://opengrok.libreoffice.org/xref/core/sc/inc/global.hxx?r=a2601800#177
https://opengrok.libreoffice.org/xref/core/sc/inc/global.hxx?r=a2601800#169

InsertDeleteFlags::ALL does not contain flags for EDITATTR
Shouldn't this be 

( static_cast<InsertDeleteFlags>(nContentFlags) & InsertDeleteFlags::EDITATTR )

instead of 

( nDelFlags & InsertDeleteFlags::EDITATTR )  

?

-- 
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/d98950e9/attachment-0001.html>


More information about the Libreoffice-bugs mailing list