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

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Julien Nabet <[email protected]> ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

The involved method is SbRtl_RGB here:
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/methods.cxx?r=4f5b3e4b&mo=118773&fi=4060#4060
and the VBAOption matters here:
   4075     if( bCompatibility )
   4076     {
   4077         nRGB   = (nBlue << 16) | (nGreen << 8) | nRed;
   4078     }
   4079     else
   4080     {
   4081         nRGB   = (nRed << 16) | (nGreen << 8) | nBlue;
   4082     }

It's like this since:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=9f19bd72abb62c018800976a1232adca64eb1a3c
author  RĂ¼diger Timm <[email protected]>        2006-05-05 07:38:28 +0000
committer       RĂ¼diger Timm <[email protected]>        2006-05-05 07:38:28
+0000
commit  9f19bd72abb62c018800976a1232adca64eb1a3c (patch)
tree    d908f551eb609ba6f5a7a6f06f70b1f3896fee65
parent  f986786ef4002cb89ce75884ab2ec996001993cd (diff)
INTEGRATION: CWS ab25 (1.64.24); FILE MERGED
2006/04/18 11:23:10 ab 1.64.24.1: #129905# Changed RGB behaviour for
compatibility mode

I must recognize I don't know what's the rationale for this.

Eike/Mike: any thoughts here?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to