summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-01-07 18:52:36 +0100
committerMathias Bauer <mba@openoffice.org>2010-01-07 18:52:36 +0100
commitfc20c8164c3168e251ce501213af49223ed45be3 (patch)
tree8d4f8b50bdf3b92ca6963312d8f7152f5cbf1275 /svtools
parent20bf200105f30e4c0a271c5e4eb75b665b9a45fb (diff)
#i107450#: make svx buildable with new editeng lib
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/unitconv.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/inc/svtools/unitconv.hxx b/svtools/inc/svtools/unitconv.hxx
index 4d7358991b45..3e7d997bdc27 100644
--- a/svtools/inc/svtools/unitconv.hxx
+++ b/svtools/inc/svtools/unitconv.hxx
@@ -27,8 +27,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef _SVX_DLGUTIL_HXX
-#define _SVX_DLGUTIL_HXX
+#ifndef _SVT_UNITCONV_HXX
+#define _SVT_UNITCONV_HXX
// include ---------------------------------------------------------------
#include <vcl/field.hxx>
@@ -43,8 +43,8 @@ typedef long (*FUNC_CONVERT)(long);
// Functions -------------------------------------------------------------
-SVT_DLLPUBLIC void SetFieldUnit( MetricField& rCtrl, SfxMapUnit eUnit, BOOL bAll = FALSE );
-SVT_DLLPUBLIC void SetFieldUnit( MetricBox& rCtrl, SfxMapUnit eUnit, BOOL bAll = FALSE );
+SVT_DLLPUBLIC void SetFieldUnit( MetricField& rCtrl, FieldUnit eUnit, BOOL bAll = FALSE );
+SVT_DLLPUBLIC void SetFieldUnit( MetricBox& rCtrl, FieldUnit eUnit, BOOL bAll = FALSE );
SVT_DLLPUBLIC long CalcToUnit( float nIn, SfxMapUnit eUnit );
SVT_DLLPUBLIC long CalcToPoint( long nIn, SfxMapUnit eUnit, USHORT nFaktor );