diff options
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/ctrlbox.hxx | 2 | ||||
-rw-r--r-- | include/svtools/ruler.hxx | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index 7849cdfad9ac..d6e8f8f8ae63 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -54,7 +54,7 @@ All scalar numbers in 1/100 of the corresponding unit. Line1 is the outer, Line2 the inner line, Distance is the distance between these two lines. If Line2 == 0, only Line1 will be shown. Defaults for -source and target unit are FUNIT_POINT. +source and target unit are FieldUnit::POINT. SetColor() sets the line color. diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index 8429ea1c74e6..e4baeb882500 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -111,15 +111,15 @@ The values are computed as described below: SetUnit() and SetZoom() configure which unit is used to display the values on the ruler. The following units are accepted: - FUNIT_MM - FUNIT_CM (Default) - FUNIT_M - FUNIT_KM - FUNIT_INCH - FUNIT_FOOT - FUNIT_MILE - FUNIT_POINT - FUNIT_PICA + FieldUnit::MM + FieldUnit::CM (Default) + FieldUnit::M + FieldUnit::KM + FieldUnit::INCH + FieldUnit::FOOT + FieldUnit::MILE + FieldUnit::POINT + FieldUnit::PICA -------------------------------------------------------------------------- |