summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-18 15:00:27 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-18 15:55:01 +0900
commitd015547d8aedeb253a157310c227337abd02d2fe (patch)
tree57ee282b829e9c868cecf4a79accaa247fbd3033 /sw
parent36e06c9d0641853aba690542083e13a39da8522b (diff)
add fixme - to refactor settings later
Change-Id: I224daf671c49bf4dd6250a486049c817247a6fcc
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/envelp/labfmt.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/labfmt.cxx b/sw/source/ui/envelp/labfmt.cxx
index 56ea2660fc61..5f8f72d59746 100644
--- a/sw/source/ui/envelp/labfmt.cxx
+++ b/sw/source/ui/envelp/labfmt.cxx
@@ -115,13 +115,15 @@ SwLabPreview::SwLabPreview(vcl::Window* pParent)
{
SetMapMode(MAP_PIXEL);
+ // FIXME RenderContext
+
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
const Color& rWinColor = rStyleSettings.GetWindowColor();
SetBackground(Wallpaper(rWinColor));
vcl::Font aFont = GetFont();
aFont.SetTransparent(true);
- aFont.SetWeight (WEIGHT_NORMAL);
+ aFont.SetWeight(WEIGHT_NORMAL);
SetFont(aFont);
lHDistWidth = GetTextWidth(aHDistStr );