[Libreoffice-commits] core.git: include/sfx2
Stephan Bergmann
sbergman at redhat.com
Wed Feb 5 03:36:03 PST 2014
include/sfx2/htmlmode.hxx | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
New commits:
commit 461550cdb5b86fd3b20e6f381acb14bcccf91406
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Feb 5 12:35:22 2014 +0100
Remove unused HTMLMODE_* defines
...and turn the remaining ones into an enum.
Change-Id: I2e650fe2640f2bf512f356c7881a9722faa6ce25
diff --git a/include/sfx2/htmlmode.hxx b/include/sfx2/htmlmode.hxx
index 952b93d..4888c48 100644
--- a/include/sfx2/htmlmode.hxx
+++ b/include/sfx2/htmlmode.hxx
@@ -19,13 +19,11 @@
#ifndef INCLUDED_SFX2_HTMLMODE_HXX
#define INCLUDED_SFX2_HTMLMODE_HXX
-#define HTMLMODE_ON 0x0001
-#define HTMLMODE_PARA_DISTANCE 0x0004
-#define HTMLMODE_SOME_STYLES 0x0020 /* mind. MS IE */
-#define HTMLMODE_FULL_STYLES 0x0040 /* == SW */
-#define HTMLMODE_PARA_BLOCK 0x0100
-#define HTMLMODE_RESERVED1 0x4000
-#define HTMLMODE_RESERVED0 0x8000
+enum {
+ HTMLMODE_ON = 0x0001,
+ HTMLMODE_SOME_STYLES = 0x0020, /* mind. MS IE */
+ HTMLMODE_FULL_STYLES = 0x0040 /* == SW */
+};
#endif
More information about the Libreoffice-commits
mailing list