summaryrefslogtreecommitdiff
path: root/starmath/inc/dialog.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-14 14:04:58 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-14 14:04:58 +0900
commit5b4408dab502ffef99e57244832a332497989e99 (patch)
tree7eac8f66c2aa3b7494341a7ffe5e2703bf29ecb8 /starmath/inc/dialog.hxx
parente42cc88032d3f59b289e5ff454101971eecc4bea (diff)
SmShowFont: change to save the font and use it in Paint + HiDPI
No painting should be performed outside of Paint hierarchy. Change-Id: I97a8d6429abcd6022e9bf89295dc2944485984eb
Diffstat (limited to 'starmath/inc/dialog.hxx')
-rw-r--r--starmath/inc/dialog.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index c67190b250b5..ec70f02ca8a6 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -81,6 +81,8 @@ class SmShowFont : public vcl::Window
{
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle&) SAL_OVERRIDE;
+ vcl::Font maFont;
+
public:
SmShowFont(vcl::Window *pParent, WinBits nStyle)
: Window(pParent, nStyle)