summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxattributeoutput.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.cxx')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 0ebda68eed20..3bd7ae8fbf43 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -583,17 +583,14 @@ void DocxAttributeOutput::PopulateFrameProperties(const SwFrameFormat* pFrameFor
switch (pFrameFormat->GetSurround().GetValue())
{
case css::text::WrapTextMode_NONE:
- attrList->add( FSNS( XML_w, XML_wrap), "none");
- break;
- case css::text::WrapTextMode_THROUGH:
- attrList->add( FSNS( XML_w, XML_wrap), "through");
- break;
- case css::text::WrapTextMode_PARALLEL:
attrList->add( FSNS( XML_w, XML_wrap), "notBeside");
break;
case css::text::WrapTextMode_DYNAMIC:
+ attrList->add(FSNS(XML_w, XML_wrap), "auto");
+ break;
+ case css::text::WrapTextMode_PARALLEL:
default:
- attrList->add( FSNS( XML_w, XML_wrap), "auto");
+ attrList->add(FSNS(XML_w, XML_wrap), "around");
break;
}
attrList->add( FSNS( XML_w, XML_vAnchor), relativeFromV );