From 6fc01200941161b365c953a182ccc8b9e5365104 Mon Sep 17 00:00:00 2001 From: Mathias Bauer Date: Thu, 10 Dec 2009 18:44:22 +0100 Subject: #i107450#: split up the two different ways to detect a module field unit --- svx/inc/dlgutil.hxx | 2 +- svx/inc/pszctrl.hxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'svx/inc') diff --git a/svx/inc/dlgutil.hxx b/svx/inc/dlgutil.hxx index cda0bf320cfe..2df180b4de6c 100644 --- a/svx/inc/dlgutil.hxx +++ b/svx/inc/dlgutil.hxx @@ -56,7 +56,7 @@ SVX_DLLPUBLIC void SetFieldUnit( MetricField& rCtrl, SVX_DLLPUBLIC void SetFieldUnit( MetricBox& rCtrl, FieldUnit eUnit, BOOL bAll = FALSE ); -SVX_DLLPUBLIC FieldUnit GetModuleFieldUnit( const SfxItemSet* pSet = NULL ); +SVX_DLLPUBLIC FieldUnit GetModuleFieldUnit( const SfxItemSet& ); // Metriken umrechnen SVX_DLLPUBLIC long CalcToUnit( float nIn, SfxMapUnit eUnit ); diff --git a/svx/inc/pszctrl.hxx b/svx/inc/pszctrl.hxx index c4ebbb3c239a..80cddcc3ae9b 100644 --- a/svx/inc/pszctrl.hxx +++ b/svx/inc/pszctrl.hxx @@ -46,6 +46,7 @@ class SVX_DLLPUBLIC SvxPosSizeStatusBarControl : public SfxStatusBarControl { private: SvxPosSizeStatusBarControl_Impl* pImp; + SVX_DLLPRIVATE String GetMetricStr_Impl( long nVal ); public: SFX_DECL_STATUSBAR_CONTROL(); -- cgit