diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 15:16:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-06 09:21:58 +0000 |
commit | 0c82dff153d92150729815b919854a9a350aa031 (patch) | |
tree | 9bda3cba13d9534460b2fe7919b00009e8ffd425 /include/svx/svdetc.hxx | |
parent | 9458ce11084579b020650fecb1165052c16ee556 (diff) |
loplugin:singlevalfields
Change-Id: Ia681765aa1da5c80a3dbe91b7376af841a9c9ec1
Reviewed-on: https://gerrit.libreoffice.org/36145
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdetc.hxx')
-rw-r--r-- | include/svx/svdetc.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svx/svdetc.hxx b/include/svx/svdetc.hxx index 0ed14863454c..021d61077dc2 100644 --- a/include/svx/svdetc.hxx +++ b/include/svx/svdetc.hxx @@ -66,7 +66,6 @@ class SVX_DLLPUBLIC SdrEngineDefaults { friend class SdrAttrObj; Color aFontColor; - size_t nFontHeight; Fraction aMapFraction; private: @@ -82,7 +81,7 @@ public: // see below for further details). The default setting 847/100mm corresponds to about // 24 Point. If e.g. one would use Twips (SetMapUnit(MapUnit::MapTwip)) (20 Twip = 1 Point) // instead, one would need to set the font height to 480, in order to get a 24 Point height. - static size_t GetFontHeight() { return GetDefaults().nFontHeight; } + static size_t GetFontHeight() { return 847; } // The MapMode is needed for the global Outliner. // Incidentally, every newly instantiated SdrModel is assigned this MapMode by default. |