vcl/source/control/edit.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 93a007b1b02c13025b08bcefe19dd54e24e2b80f
Author: Tomaž Vajngerl <[email protected]>
Date: Wed Oct 28 20:27:48 2015 +0100
tdf#94138 also apply settings when printing (Draw call)
Change-Id: I72056f3e167923f00c37648a24190b533eb9b471
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index b5ed8b1..7ac3a44 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 );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits