https://bugs.documentfoundation.org/show_bug.cgi?id=142727
Andreas Heinisch <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTABUG
--- Comment #5 from Andreas Heinisch <[email protected]> ---
So I checked for the exact reason of this bug. In Bug 130476, we changed the
behaviour of the hex literals. So in &H00FF00 preceeding zeros are ignored and
the resulting number is converted to an int, which leads to -256, which is
obviously not a color.
However, if you cast the literal to a long by adding & at the end (&H00FF00&),
the value is preserved as long and the cell color gets the correct value.
So imho not a bug.
You can just change your lines from:
Tabelle.getCellbyPosition(6,l).CellBackcolor = &H00FF00
to:
Tabelle.getCellbyPosition(6,l).CellBackcolor = &H00FF00&
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs