diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-24 15:56:44 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-27 05:20:12 +0000 |
commit | 78ca0ce54a2cd79736247ea8cf69ad5fc797ee1a (patch) | |
tree | d6ea35c8f740c3ae4d09f68b8ff975daa765596c /include/svx/svdetc.hxx | |
parent | c47d85be7839d0721a09f2eb100c4ab0abb7a985 (diff) |
loplugin:singlevalfields in svx(part3)
Change-Id: I6b7a33b5f1297309a7225cac8150dbf1175506b6
Reviewed-on: https://gerrit.libreoffice.org/26642
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx/svdetc.hxx')
-rw-r--r-- | include/svx/svdetc.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/svx/svdetc.hxx b/include/svx/svdetc.hxx index 577a1d93571d..9beca6f4ac18 100644 --- a/include/svx/svdetc.hxx +++ b/include/svx/svdetc.hxx @@ -64,10 +64,9 @@ SVX_DLLPUBLIC SdrOutliner* SdrMakeOutliner(OutlinerMode nOutlinerMode, SdrModel& class SVX_DLLPUBLIC SdrEngineDefaults { friend class SdrAttrObj; - Color aFontColor; + Color aFontColor; sal_uIntPtr nFontHeight; - MapUnit eMapUnit; - Fraction aMapFraction; + Fraction aMapFraction; private: static SdrEngineDefaults& GetDefaults(); @@ -87,7 +86,7 @@ public: // The MapMode is needed for the global Outliner. // Incidentally, every newly instantiated SdrModel is assigned this MapMode by default. // Default MapUnit is MAP_100TH_MM - static MapUnit GetMapUnit() { return GetDefaults().eMapUnit; } + static MapUnit GetMapUnit() { return MAP_100TH_MM; } // Default MapFraction is 1/1. static Fraction GetMapFraction() { return GetDefaults().aMapFraction; } |