https://bugs.freedesktop.org/show_bug.cgi?id=54024
Julien Nabet <serval2...@yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caol...@redhat.com --- Comment #7 from Julien Nabet <serval2...@yahoo.fr> --- Bart: on pc Debian x86-64 with master sources updated today, I noticed that when I opened the file with the color name entry deleted: - first time I go to Color tab : RGB values are not retrieved (0,0,0 => Black) - I go to Area tab and go back to Color tab: RGB values are retrieved Caolán: I noticed that if I added this: *pPageType = PT_COLOR; in cui/source/tabpages/tpcolor.cxx, line 429 so to have this: 427 if( pColorList.is() ) 428 { 429 *pPageType = PT_COLOR; 430 if( *pPageType == PT_COLOR && *pPos != LISTBOX_ENTRY_NOTFOUND ) It worked on master sources (I mean RGB values in Color Tab) Of course, it's just a test and *pPageType == PT_COLOR just below becomes useless with this. With this Opengrok search, http://opengrok.libreoffice.org/search?q=pPageType&project=core&defs=&refs=&path=&hist=, I also noticed a kind of pattern: - tpbitmap.cxx - tpgradnt.cxx - tphatch.cxx and tpcolor.cxx slightly different. But I don't understand how this kind of pattern might work. Any idea? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs