summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-06-06 15:21:16 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:42 +0200
commit4284ad3f27d389a0ac8b5cf57c1b015b44741bec (patch)
tree6518c2dea4d2d75b07e3f250976e9c9cf69a9ee2 /editeng
parentae915ba34f6b721b81747e7b90a46e1133d5238e (diff)
Set transparency besides color for text with fill (i.e. underlined text)
Change-Id: I88a90facac656f846a88315951b4769f502662a0 (cherry picked from commit d4c1c038dbc554dcce9c081e736a72359e80d33f)
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editattr.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx
index 694e4d4d225a..a0974a238d77 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