[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-text-background-color' - editeng/source
matteocam
matteo.campanelli at gmail.com
Fri Jun 6 12:22:08 PDT 2014
editeng/source/editeng/editattr.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit d4c1c038dbc554dcce9c081e736a72359e80d33f
Author: matteocam <matteo.campanelli at gmail.com>
Date: Fri Jun 6 15:21:16 2014 -0400
Set transparency besides color for text with fill (i.e. underlined text)
Change-Id: I88a90facac656f846a88315951b4769f502662a0
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx
index 7d60300..c867da4 100644
--- a/editeng/source/editeng/editattr.cxx
+++ b/editeng/source/editeng/editattr.cxx
@@ -134,6 +134,7 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev )
/* FIXME(matteocam) */
rFont.SetFillColor(aColor); // XXX: alone it works but it set it white (vcl causing troubes?)
+ rFont.SetTransparent(false); // XXX: will this be enough?
//if (pOutDev)
// pOutDev->SetTextFillColor(aColor); // this doesn't work either
// end FIXME
More information about the Libreoffice-commits
mailing list