summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-06 15:09:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-06 17:17:44 +0200
commit1b6cad89690a1188c6628c68d62108866b837779 (patch)
tree5579da4710cf53cddd79ea5b19fe2cb1fb6bdac2
parentb755df14a431543f1b70246a5e58830a0a480602 (diff)
make it obvious that SwSurround and css::text::WrapTextMode are the same
Change-Id: I20154c12b9406b7ea2f8f245aa688859118982f7
-rw-r--r--sw/inc/fmtsrndenum.hxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/sw/inc/fmtsrndenum.hxx b/sw/inc/fmtsrndenum.hxx
index f85d0036a43f..13661fc956f8 100644
--- a/sw/inc/fmtsrndenum.hxx
+++ b/sw/inc/fmtsrndenum.hxx
@@ -19,14 +19,16 @@
#ifndef _FMTSRNDENUM_HXX
#define _FMTSRNDENUM_HXX
+#include <com/sun/star/text/WrapTextMode.hpp>
+
enum SwSurround {
- SURROUND_BEGIN,
- SURROUND_NONE = SURROUND_BEGIN,
- SURROUND_THROUGHT,
- SURROUND_PARALLEL,
- SURROUND_IDEAL,
- SURROUND_LEFT,
- SURROUND_RIGHT,
+ SURROUND_NONE = com::sun::star::text::WrapTextMode_NONE,
+ SURROUND_BEGIN = SURROUND_NONE,
+ SURROUND_THROUGHT = com::sun::star::text::WrapTextMode_THROUGHT,
+ SURROUND_PARALLEL = com::sun::star::text::WrapTextMode_PARALLEL,
+ SURROUND_IDEAL = com::sun::star::text::WrapTextMode_DYNAMIC,
+ SURROUND_LEFT = com::sun::star::text::WrapTextMode_LEFT,
+ SURROUND_RIGHT = com::sun::star::text::WrapTextMode_RIGHT,
SURROUND_END
};