diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/itemwin.hxx | 4 | ||||
-rw-r--r-- | include/svx/linectrl.hxx | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx index 02ca9548bd45..f7da4cc9becf 100644 --- a/include/svx/itemwin.hxx +++ b/include/svx/itemwin.hxx @@ -52,7 +52,7 @@ class SvxMetricField final : public InterimItemWindow private: std::unique_ptr<weld::MetricSpinButton> m_xWidget; int nCurValue; - MapUnit ePoolUnit; + MapUnit eDestPoolUnit; FieldUnit eDlgUnit; css::uno::Reference< css::frame::XFrame > mxFrame; @@ -73,7 +73,7 @@ public: virtual ~SvxMetricField() override; void Update( const XLineWidthItem* pItem ); - void SetCoreUnit( MapUnit eUnit ); + void SetDestCoreUnit( MapUnit eUnit ); void RefreshDlgUnit(); void set_sensitive(bool bSensitive); diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx index 657d0f7d9262..62f428aa5136 100644 --- a/include/svx/linectrl.hxx +++ b/include/svx/linectrl.hxx @@ -69,6 +69,8 @@ private: class SVX_DLLPUBLIC SvxLineWidthToolBoxControl final : public SfxToolBoxControl { + static MapUnit GetCoreMetric(); + public: SFX_DECL_TOOLBOX_CONTROL(); |