summaryrefslogtreecommitdiff
path: root/vcl/source/control/edit.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-10-28 20:27:48 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-10-28 20:32:23 +0100
commit93a007b1b02c13025b08bcefe19dd54e24e2b80f (patch)
treee3191e9af6bd16760369ad0a5e02bef7d16de3fc /vcl/source/control/edit.cxx
parent0bc79eef361334040b41385953aaebb81e82b33c (diff)
tdf#94138 also apply settings when printing (Draw call)
Change-Id: I72056f3e167923f00c37648a24190b533eb9b471
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r--vcl/source/control/edit.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index b5ed8b1b596e..7ac3a4443d1e 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -1815,6 +1815,8 @@ void Edit::Resize()
void Edit::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, DrawFlags nFlags )
{
+ ApplySettings(*pDev);
+
Point aPos = pDev->LogicToPixel( rPos );
Size aSize = pDev->LogicToPixel( rSize );
vcl::Font aFont = GetDrawPixelFont( pDev );