core.git: lotuswordpro/inc

2024-04-29 Thread Nima Mahanloo (via logerrit)
 lotuswordpro/inc/xfilter/xfparastyle.hxx |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit d04b6c775d8b304aa09e62f766bd74a83f8e3794
Author: Nima Mahanloo 
AuthorDate: Tue Apr 16 22:43:42 2024 -0700
Commit: Ilmari Lauhakangas 
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 
Tested-by: Ilmari Lauhakangas 
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 
 #include 
 
-#define XFPARA_FLAG_FONT0X0001
-#define XFPARA_FLAG_DROPCAP 0X0002
-#define XFPARA_FLAG_BACKCOLOR   0X0004
+enum XFParaFlags {
+XFPARA_FLAG_FONT  = 0X0001,
+XFPARA_FLAG_DROPCAP   = 0X0002,
+XFPARA_FLAG_BACKCOLOR = 0X0004
+};
 
 class XFBorders;
 class XFBGImage;


license statement

2024-04-15 Thread Nima Mahanloo
All of my past & future contributions to LibreOffice may be
licensed under the MPLv2/LGPLv3+ dual license.
Additionally, to the extent possible under law, I waive all
copyright and related or neighboring rights to my past & future
Artwork and Design contributions to the LibreOffice project, and
similarly to The Document Foundation, placing such contributions
under CC0: https://creativecommons.org/publicdomain/zero/1.0