summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/mapunit.hxx15
-rw-r--r--include/tools/rc.h5
2 files changed, 11 insertions, 9 deletions
diff --git a/include/tools/mapunit.hxx b/include/tools/mapunit.hxx
index 660db9183e6f..334e2f5202bf 100644
--- a/include/tools/mapunit.hxx
+++ b/include/tools/mapunit.hxx
@@ -22,10 +22,17 @@
#include <sal/types.h>
-enum MapUnit { MAP_100TH_MM, MAP_10TH_MM, MAP_MM, MAP_CM,
- MAP_1000TH_INCH, MAP_100TH_INCH, MAP_10TH_INCH, MAP_INCH,
- MAP_POINT, MAP_TWIP, MAP_PIXEL, MAP_SYSFONT, MAP_APPFONT,
- MAP_RELATIVE, MAP_LASTENUMDUMMY };
+enum class MapUnit
+{
+ Map100thMM, Map10thMM, MapMM, MapCM,
+ Map1000thInch, Map100thInch, Map10thInch, MapInch,
+ MapPoint, MapTwip,
+ MapPixel,
+ MapSysFont, MapAppFont,
+ MapRelative,
+ LAST = MapRelative,
+ LASTENUMDUMMY // used as an error return
+};
inline sal_Int64 convertTwipToMm100(sal_Int64 n)
{
diff --git a/include/tools/rc.h b/include/tools/rc.h
index 4566203adeda..8a0428f35a60 100644
--- a/include/tools/rc.h
+++ b/include/tools/rc.h
@@ -23,11 +23,6 @@
#include <tools/rcid.h>
#include <o3tl/typed_flags_set.hxx>
-// Defines for all "Window" resources.
-// (Here are all window styles that are not in WinBits)
-#define RSC_EXTRAMAPUNIT 0xFFFF // do not change that value!
-
-
// Attributes in *.src files
enum class RSWND {
NONE = 0x00,