summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8atr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8atr.cxx')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index b20df77e79a1..aef5b0e108e3 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -128,9 +128,7 @@
#include <writerfilter/doctok/sprmids.hxx>
-#if OSL_DEBUG_LEVEL > 1
-# include <fmtcntnt.hxx>
-#endif
+#include <fmtcntnt.hxx>
#include "writerhelper.hxx"
#include "writerwordglue.hxx"
#include "wrtww8.hxx"
@@ -4087,15 +4085,15 @@ void WW8AttributeOutput::FormatAnchor( const SwFmtAnchor& rAnchor )
BYTE nP = 0;
switch ( rAnchor.GetAnchorId() )
{
- case FLY_PAGE:
+ case FLY_AT_PAGE:
// Vert: Page | Horz: Page
nP |= (1 << 4) | (2 << 6);
break;
// Im Fall eine Flys als Zeichen: Absatz-gebunden setzen!!!
case FLY_AT_FLY:
- case FLY_AUTO_CNTNT:
- case FLY_AT_CNTNT:
- case FLY_IN_CNTNT:
+ case FLY_AT_CHAR:
+ case FLY_AT_PARA:
+ case FLY_AS_CHAR:
// Vert: Page | Horz: Page
nP |= (2 << 4) | (0 << 6);
break;