Problem with dark themes on LibreOffice 4.1?

I’m using Ubuntu 12.04 with LibreOffice 4.1 (I recently upgraded from stock LibreOffice 3.x that comes with Ubuntu 12.04 using
I have installed the GnomishDark theme ( and it causes the graphs and tables in LibreOffice to always show with dark background and black lines, no matter how I change colors.
Is this a bug or is there a workaround? This didn’t happen with the 3.x versions (I haven’t tried 4.0).
I haven’t found anyone with this problem on Google…

After digging a bit more, I found this bug report that points to a work-around that solves the problem: