lotuswordpro/inc/xfilter/xfparastyle.hxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit d04b6c775d8b304aa09e62f766bd74a83f8e3794
Author:     Nima Mahanloo <nima.mahan...@yahoo.com>
AuthorDate: Tue Apr 16 22:43:42 2024 -0700
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Tue Apr 30 08:39:15 2024 +0200

    tdf#145614 Convert #define to enum
    
    Change-Id: I0a360a93775d2c46b7e02009879d7a18315497b1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166168
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/lotuswordpro/inc/xfilter/xfparastyle.hxx 
b/lotuswordpro/inc/xfilter/xfparastyle.hxx
index 1a12c2f4c9c4..ac16d3ba1f0b 100644
--- a/lotuswordpro/inc/xfilter/xfparastyle.hxx
+++ b/lotuswordpro/inc/xfilter/xfparastyle.hxx
@@ -78,9 +78,11 @@
 #include <xfilter/xflineheight.hxx>
 #include <memory>
 
-#define     XFPARA_FLAG_FONT        0X00000001
-#define     XFPARA_FLAG_DROPCAP     0X00000002
-#define     XFPARA_FLAG_BACKCOLOR   0X00000004
+enum XFParaFlags {
+    XFPARA_FLAG_FONT      = 0X00000001,
+    XFPARA_FLAG_DROPCAP   = 0X00000002,
+    XFPARA_FLAG_BACKCOLOR = 0X00000004
+};
 
 class XFBorders;
 class XFBGImage;

Reply via email to