From 1b6cad89690a1188c6628c68d62108866b837779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 6 Aug 2013 15:09:31 +0200 Subject: [PATCH] make it obvious that SwSurround and css::text::WrapTextMode are the same Change-Id: I20154c12b9406b7ea2f8f245aa688859118982f7 --- sw/inc/fmtsrndenum.hxx | 16 +++++++++------- 1 file 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 + 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 };