summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-10 09:47:59 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-10 12:05:34 +0000
commit961b715d9d28e50608ab487624ded5231ca7bb78 (patch)
treef8696f1d8966df667d4532c1c71e9ee1397f4423 /include
parentaa544a002e534a313ad9dd365e80f052789d9963 (diff)
convert SAL_ROP to scoped enum
Change-Id: I2c49ec843c0f95e8246cdf9d3185c11e81a3bde3 Reviewed-on: https://gerrit.libreoffice.org/24824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/salgtype.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/vcl/salgtype.hxx b/include/vcl/salgtype.hxx
index a43a19db72b4..cae472710cc1 100644
--- a/include/vcl/salgtype.hxx
+++ b/include/vcl/salgtype.hxx
@@ -66,10 +66,9 @@ struct SalTwoRect
}
};
-typedef sal_uInt16 SalROPColor;
-#define SAL_ROP_0 ((SalROPColor)0)
-#define SAL_ROP_1 ((SalROPColor)1)
-#define SAL_ROP_INVERT ((SalROPColor)2)
+enum class SalROPColor {
+ N0, N1, Invert
+};
typedef sal_uInt16 SalInvert;
#define SAL_INVERT_HIGHLIGHT ((SalInvert)0x0001)