summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-09-29 18:53:44 +0200
committerLuboš Luňák <l.lunak@collabora.com>2014-09-29 19:15:26 +0200
commit1eb1ac5c26278c312fba9ade1b1ddc2cbe433312 (patch)
tree651491001f79a3b8118cabd937ab4900ae8eca2d /sw/source
parent37b200891f51ea2888b216747622e643a9fcd170 (diff)
map FRAME to VML's text
Again, that's what this file does elsewhere, that's what (incomplete) import did before my changes, and it seems to match better the position that such an element gets in Word. Change-Id: Id09150eaaa505e6ddcd4baaf4a833000d52dd71d
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 71c6692418d7..e2496e8145b4 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -5795,9 +5795,9 @@ void DocxAttributeOutput::FormatVertOrientation( const SwFmtVertOrient& rFlyVert
case text::RelOrientation::CHAR:
case text::RelOrientation::PRINT_AREA:
case text::RelOrientation::TEXT_LINE:
+ case text::RelOrientation::FRAME:
sVAnchor = OString( "text" );
break;
- case text::RelOrientation::FRAME:
case text::RelOrientation::PAGE_LEFT:
case text::RelOrientation::PAGE_RIGHT:
case text::RelOrientation::FRAME_LEFT:
@@ -5854,9 +5854,9 @@ void DocxAttributeOutput::FormatHorizOrientation( const SwFmtHoriOrient& rFlyHor
{
case text::RelOrientation::CHAR:
case text::RelOrientation::PRINT_AREA:
+ case text::RelOrientation::FRAME:
sHAnchor = OString( "text" );
break;
- case text::RelOrientation::FRAME:
case text::RelOrientation::PAGE_LEFT:
case text::RelOrientation::PAGE_RIGHT:
case text::RelOrientation::FRAME_LEFT: