diff options
Diffstat (limited to 'include/svx/nbdtmg.hxx')
-rw-r--r-- | include/svx/nbdtmg.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index d75d163c05f5..217f7e761643 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -185,7 +185,7 @@ class SVX_DLLPUBLIC NBOTypeMgrBase NBOType eType; private: const SfxItemSet* pSet; - SfxMapUnit eCoreUnit; + MapUnit eCoreUnit; // store the attributes passed from pSet OUString aNumCharFmtName; void StoreBulCharFmtName_impl(); @@ -195,7 +195,7 @@ class SVX_DLLPUBLIC NBOTypeMgrBase NBOTypeMgrBase(const NBOType aType) : eType(aType) , pSet(nullptr) - , eCoreUnit(SFX_MAPUNIT_TWIP) + , eCoreUnit(MAP_TWIP) , aNumCharFmtName(OUString()) , bIsLoading(false) {} @@ -219,7 +219,7 @@ class SVX_DLLPUBLIC NBOTypeMgrBase void SetItems(const SfxItemSet* pArg) { pSet = pArg;StoreBulCharFmtName_impl();StoreMapUnit_impl();} protected: const OUString& GetBulCharFmtName() { return aNumCharFmtName;} - SfxMapUnit GetMapUnit() { return eCoreUnit;} + MapUnit GetMapUnit() { return eCoreUnit;} protected: bool bIsLoading; void ImplLoad(const OUString& filename); |