summaryrefslogtreecommitdiff
path: root/include/vcl/font.hxx
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-05-24 13:02:43 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:37 +0200
commitbe085bf52324f8b1c7f59a3d49a39e14e04824df (patch)
treea0203ad18eb78e02a602e610c8de96e2da079f6f /include/vcl/font.hxx
parent039599e9d52461ea57a9690f847bbfe5bae6f3aa (diff)
Moved Text Filling Color in OutDev. Text Filling occurs in ImplDrawText
Change-Id: I9c75066a8dea32721757d0511a2af58c68408438 (cherry picked from commit b09cf493611f2521e66159287b88acc3c05d6d33)
Diffstat (limited to 'include/vcl/font.hxx')
-rw-r--r--include/vcl/font.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx
index 7102ef9ed05a..1a728f34bba9 100644
--- a/include/vcl/font.hxx
+++ b/include/vcl/font.hxx
@@ -61,7 +61,9 @@ public:
FontAlign GetAlign() const;
// XXX: now font has background iff it is (single-y) underlined
+ // also forces non transparency
bool HasBackgroundColor() const {
+
return GetUnderline() == UNDERLINE_SINGLE;
}